Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9355/0.9355, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.316e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006632/0.006665, allocations: 7.068 MB / 258.1 MB, free: 416 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.01039, allocations: 2.216 MB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.0111, allocations: 55.62 kB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.01191, allocations: 464.7 kB / 260.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.01367, allocations: 0.8542 MB / 261.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.01426, allocations: 383.2 kB / 262.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002844/0.01711, allocations: 3.252 MB / 265.3 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.01844, allocations: 1.524 MB / 266.8 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.02043, allocations: 2.109 MB / 268.9 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.02205, allocations: 1.68 MB / 270.6 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004205/0.02247, allocations: 364 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.02321, allocations: 479.7 kB / 271.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008444/0.02406, allocations: 0.9503 MB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.02506, allocations: 1.119 MB / 273.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.02738, allocations: 2.765 MB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.02738, allocations: 3.938 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02739, allocations: 0 / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.02743, allocations: 0 / 276.3 MB, free: 14.11 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.005325/0.03275, allocations: 3.846 MB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.03282, allocations: 15.97 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.03519, allocations: 1.025 MB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.03707, allocations: 1.473 MB / 282.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.03718, allocations: 197.7 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.03744, allocations: 268.3 kB / 283.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.04035, allocations: 2.271 MB / 285.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.04039, allocations: 3.938 kB / 285.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.04055, allocations: 112 kB / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/0.04064, allocations: 105.4 kB / 285.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.04269, allocations: 0.9606 MB / 286.6 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/0.05212, allocations: 8.302 MB / 294.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.05416, allocations: 1.426 MB / 296.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.05474, allocations: 456.8 kB / 296.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/0.05695, allocations: 1.766 MB / 298.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.05699, allocations: 62.31 kB / 298.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.837e-06/0.05699, allocations: 0 / 298.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002887/0.05988, allocations: 1.583 MB / 300.1 MB, free: 5.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003163/0.06019, allocations: 94.05 kB / 300.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.0612, allocations: 1.131 MB / 301.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.06125, allocations: 45.7 kB / 301.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.06181, allocations: 1.28 MB / 302.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.062, allocations: 388.8 kB / 303.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.06223, allocations: 240.5 kB / 303.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.06238, allocations: 0.5472 MB / 303.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.06266, allocations: 170.5 kB / 304 MB, free: 1.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.06314, allocations: 0.5804 MB / 304.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.06397, allocations: 0.8397 MB / 305.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.06398, allocations: 0 / 305.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001419/0.0654, allocations: 1.136 MB / 306.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.06542, allocations: 8 kB / 306.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.06543, allocations: 8 kB / 306.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.06623, allocations: 399 kB / 307 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.06695, allocations: 215.6 kB / 307.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/0.07117, allocations: 5.829 MB / 313 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.07178, allocations: 135.1 kB / 313.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.07184, allocations: 56.02 kB / 313.2 MB, free: 7.926 MB / 298.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,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006395/0.07248, allocations: 228.2 kB / 313.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.07267, allocations: 167.2 kB / 313.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.07434, allocations: 0.961 MB / 314.5 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.07435, allocations: 8 kB / 314.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.07436, allocations: 8 kB / 314.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.07437, allocations: 7.969 kB / 314.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.07803, allocations: 2.909 MB / 317.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.07803, allocations: 4 kB / 317.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.07832, allocations: 127.8 kB / 317.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/0.07908, allocations: 391.5 kB / 318 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.07914, allocations: 43.91 kB / 318 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.08364, allocations: 5.829 MB / 323.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08365, allocations: 0 / 323.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.08526, allocations: 1.436 MB / 325.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.08546, allocations: 166.8 kB / 325.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.08556, allocations: 31.98 kB / 325.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.08592, allocations: 83.92 kB / 325.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.08609, allocations: 108.7 kB / 325.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.08613, allocations: 31.98 kB / 325.7 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000635/0.08676, allocations: 0.6458 MB / 326.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.08676, allocations: 0 / 326.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001436/0.0882, allocations: 0.693 MB / 327 MB, free: 9.652 MB / 314.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002726/0.08847, allocations: 151 kB / 327.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.08996, allocations: 1.226 MB / 328.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.08996, allocations: 4 kB / 328.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.091, allocations: 0.9107 MB / 329.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.09181, allocations: 292.3 kB / 329.6 MB, free: 7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.09657, allocations: 4 MB / 333.6 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.09714, allocations: 0.7651 MB / 334.4 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.09763, allocations: 270.6 kB / 334.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.09779, allocations: 84.48 kB / 334.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.833e-06/0.09779, allocations: 0 / 334.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of Templates: time 0.1373/0.235, allocations: 20.52 MB / 355.3 MB, free: 92.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3832630193792284]