Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009295/0.0009295, allocations: 81.81 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 163.7 kB / 24.82 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9693/0.9693, allocations: 177 MB / 205.1 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.628e-05, allocations: 5.266 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008768/0.008794, allocations: 7.496 MB / 280.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.01244, allocations: 2.448 MB / 283.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000693/0.01313, allocations: 67.56 kB / 283.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007506/0.01388, allocations: 464.7 kB / 283.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.01563, allocations: 0.8853 MB / 284.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.01627, allocations: 406.2 kB / 285.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.01919, allocations: 3.346 MB / 288.4 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.02048, allocations: 1.564 MB / 290 MB, free: 420 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1107/0.1312, allocations: 2.419 MB / 292.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.1335, allocations: 1.819 MB / 294.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007379/0.1342, allocations: 355.3 kB / 294.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.1351, allocations: 474.9 kB / 295 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.1357, allocations: 0.9483 MB / 296 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.137, allocations: 1.114 MB / 297.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.1394, allocations: 2.779 MB / 299.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1394, allocations: 0.75 kB / 299.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1394, allocations: 2.906 kB / 299.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.1394, allocations: 0.625 kB / 299.9 MB, free: 15.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004069/0.1435, allocations: 3.642 MB / 303.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1435, allocations: 12.98 kB / 303.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.1455, allocations: 0.9041 MB / 304.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.1468, allocations: 1.475 MB / 305.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.1468, allocations: 196.5 kB / 306.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1471, allocations: 269.4 kB / 306.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.1489, allocations: 2.108 MB / 308.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.1489, allocations: 0 / 308.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.1491, allocations: 111.2 kB / 308.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.1491, allocations: 111.4 kB / 308.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.1501, allocations: 0.7341 MB / 309.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.156, allocations: 7.613 MB / 317 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1573, allocations: 1.209 MB / 318.3 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.1577, allocations: 398.7 kB / 318.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.1591, allocations: 1.704 MB / 320.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1591, allocations: 54.02 kB / 320.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.154e-06/0.1591, allocations: 4 kB / 320.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002257/0.1614, allocations: 1.458 MB / 321.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1614, allocations: 90.11 kB / 322 MB, free: 15.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.1622, allocations: 1.13 MB / 323.1 MB, free: 14.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.1623, allocations: 45.7 kB / 323.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.1629, allocations: 1.301 MB / 324.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.1631, allocations: 391.5 kB / 324.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.1633, allocations: 250.4 kB / 325.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1635, allocations: 0.5518 MB / 325.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1637, allocations: 130.5 kB / 325.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.164, allocations: 0.5389 MB / 326.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.1647, allocations: 0.7723 MB / 327 MB, free: 10.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1647, allocations: 4 kB / 327 MB, free: 10.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001104/0.1658, allocations: 1.047 MB / 328.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1658, allocations: 11.94 kB / 328.1 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1658, allocations: 8.375 kB / 328.1 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/0.1666, allocations: 369 kB / 328.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.1669, allocations: 202 kB / 328.7 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.1705, allocations: 5.637 MB / 334.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.1709, allocations: 126.5 kB / 334.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.1709, allocations: 36 kB / 334.5 MB, free: 3.074 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003343/0.1712, allocations: 226.6 kB / 334.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.1714, allocations: 183 kB / 334.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1725, allocations: 0.8742 MB / 335.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1725, allocations: 8 kB / 335.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1725, allocations: 11.94 kB / 335.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.1725, allocations: 3.984 kB / 335.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.1761, allocations: 2.817 MB / 338.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1761, allocations: 0 / 338.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1765, allocations: 122.3 kB / 338.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007631/0.1772, allocations: 368.2 kB / 339.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.1773, allocations: 31.98 kB / 339.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.1816, allocations: 5.616 MB / 344.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1816, allocations: 11.41 kB / 344.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1832, allocations: 1.335 MB / 346.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.1834, allocations: 158.9 kB / 346.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.1836, allocations: 31.98 kB / 346.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.184, allocations: 51.97 kB / 346.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1842, allocations: 92.77 kB / 346.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.1842, allocations: 27.98 kB / 346.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008058/0.185, allocations: 0.6164 MB / 347 MB, free: 6.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 0 / 347 MB, free: 6.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001449/0.1865, allocations: 0.6852 MB / 347.7 MB, free: 6.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.1867, allocations: 160 kB / 347.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.1881, allocations: 1.166 MB / 349 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1881, allocations: 4 kB / 349 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.189, allocations: 0.8831 MB / 349.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1901, allocations: 293.8 kB / 350.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.1953, allocations: 3.971 MB / 354.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/0.1963, allocations: 0.7691 MB / 354.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000483/0.1967, allocations: 166.9 kB / 355.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.1974, allocations: 370 kB / 355.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1974, allocations: 3.938 kB / 355.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Templates: time 0.03419/0.2316, allocations: 21.86 MB / 377.3 MB, free: 8.738 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1324072019197047]