Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001392, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2755, allocations: 50.53 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01664/0.2922, allocations: 16.6 MB / 425.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009224/0.3014, allocations: 4.696 MB / 430.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.3043, allocations: 131.6 kB / 430.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.319, allocations: 7.178 MB / 437.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006679/0.3257, allocations: 1.939 MB / 439.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.3297, allocations: 1.555 MB / 440.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.3406, allocations: 9.499 MB / 450.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03074/0.3714, allocations: 20.83 MB / 471.2 MB, free: 2.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007968/0.3794, allocations: 5.257 MB / 476.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009353/0.3888, allocations: 5.911 MB / 482.4 MB, free: 7.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004059/0.3929, allocations: 1.359 MB / 483.7 MB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005984/0.3989, allocations: 1.668 MB / 485.4 MB, free: 4.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004897/0.4038, allocations: 2.794 MB / 488.2 MB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.4139, allocations: 5.354 MB / 493.5 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.4345, allocations: 18.36 MB / 0.4999 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4346, allocations: 0 / 0.4999 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4346, allocations: 4 kB / 0.4999 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006103/0.4352, allocations: 0 / 0.4999 GB, free: 10.01 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.0373/0.4725, allocations: 12.13 MB / 0.5117 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.4726, allocations: 8.031 kB / 0.5118 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005687/0.4783, allocations: 1.517 MB / 0.5132 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03642/0.5147, allocations: 6.276 MB / 0.5194 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0156/0.5304, allocations: 5.819 MB / 0.525 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007659/0.5312, allocations: 0.6665 MB / 0.5257 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/0.5353, allocations: 0.8788 MB / 0.5266 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4271/0.9624, allocations: 14.71 MB / 0.5409 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003367/0.9628, allocations: 9.609 kB / 0.5409 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/0.9648, allocations: 377.6 kB / 0.5413 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007338/0.9656, allocations: 498.7 kB / 0.5418 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.9866, allocations: 13.54 MB / 0.555 GB, free: 107.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05851/1.045, allocations: 44.58 MB / 0.5985 GB, free: 66.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.056, allocations: 11.65 MB / 0.6099 GB, free: 53.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004101/1.06, allocations: 3.164 MB / 0.613 GB, free: 50.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/1.06, allocations: 257.4 kB / 0.6132 GB, free: 49.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/1.06, allocations: 89.8 kB / 0.6133 GB, free: 49.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.913e-06/1.06, allocations: 4 kB / 0.6133 GB, free: 49.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01986/1.08, allocations: 9.558 MB / 0.6227 GB, free: 40.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.08, allocations: 117.1 kB / 0.6228 GB, free: 40.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005535/1.086, allocations: 3.16 MB / 0.6259 GB, free: 36.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004928/1.086, allocations: 97.64 kB / 0.6259 GB, free: 36.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.088, allocations: 3.694 MB / 0.6296 GB, free: 33.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.089, allocations: 1.389 MB / 0.6309 GB, free: 31.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/1.091, allocations: 1.124 MB / 0.632 GB, free: 30.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.298e-05/1.091, allocations: 309.1 kB / 0.6323 GB, free: 30.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/1.095, allocations: 2.838 MB / 0.6351 GB, free: 27.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/1.099, allocations: 4.904 MB / 0.6399 GB, free: 21.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007666/1.107, allocations: 8.255 MB / 0.6479 GB, free: 12.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.791e-05/1.107, allocations: 16 kB / 0.6479 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01227/1.119, allocations: 9.111 MB / 0.6568 GB, free: 3.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/1.119, allocations: 32 kB / 0.6569 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-05/1.119, allocations: 68 kB / 0.6569 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/1.122, allocations: 1.146 MB / 0.6581 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.126, allocations: 1.287 MB / 0.6593 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.141, allocations: 10.81 MB / 0.6699 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.146, allocations: 0.7395 MB / 0.6706 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.147, allocations: 276 kB / 0.6709 GB, free: 4.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006264/1.154, allocations: 3.42 MB / 0.6742 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.155, allocations: 351.6 kB / 0.6745 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.169, allocations: 6.907 MB / 0.6813 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01107/1.18, allocations: 5.733 MB / 0.6869 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-05/1.18, allocations: 12 kB / 0.6869 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.275e-05/1.18, allocations: 19.92 kB / 0.6869 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03452/1.215, allocations: 15.23 MB / 0.7018 GB, free: 4.797 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/1.215, allocations: 12 kB / 0.7018 GB, free: 4.785 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.218, allocations: 0.7918 MB / 0.7026 GB, free: 3.992 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/1.221, allocations: 1.06 MB / 0.7036 GB, free: 2.926 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005198/1.222, allocations: 108 kB / 0.7037 GB, free: 2.82 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/1.236, allocations: 10.57 MB / 0.714 GB, free: 7.973 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/1.236, allocations: 23.88 kB / 0.7141 GB, free: 7.949 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.255, allocations: 10.68 MB / 0.7245 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/1.258, allocations: 0.9796 MB / 0.7254 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009744/1.259, allocations: 99.98 kB / 0.7255 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.262, allocations: 283.6 kB / 0.7258 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008863/1.263, allocations: 335.2 kB / 0.7261 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004523/1.264, allocations: 140 kB / 0.7263 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003902/1.267, allocations: 2.125 MB / 0.7283 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.583e-06/1.267, allocations: 4 kB / 0.7283 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006952/1.274, allocations: 2.231 MB / 0.7305 GB, free: 6.809 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0191/1.294, allocations: 11.42 MB / 0.7417 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.307, allocations: 7.444 MB / 0.7489 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/1.307, allocations: 7.938 kB / 0.7489 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007224/1.314, allocations: 3.643 MB / 0.7525 GB, free: 28 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2184/1.532, allocations: 0.8044 MB / 0.7533 GB, free: 198 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08/1.612, allocations: 51.65 MB / 0.8037 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009034/1.622, allocations: 5.926 MB / 0.8095 GB, free: 157.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005884/1.627, allocations: 2.154 MB / 0.8116 GB, free: 155.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005192/1.633, allocations: 3.006 MB / 0.8146 GB, free: 152.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/1.633, allocations: 0 / 0.8146 GB, free: 152.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6464/2.279, allocations: 114.3 MB / 0.9262 GB, free: 38.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/21.66, allocations: 23.31 kB / 0.9262 GB, free: 38.2 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches