Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.001172/0.001172, allocations: 85.08 kB / 23 MB, free: 1.504 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.001258/0.001258, allocations: 177.4 kB / 26.4 MB, free: 8 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.8771/0.8771, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.352e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01192/0.01194, allocations: 15.42 MB / 267.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008489/0.02043, allocations: 4.603 MB / 272.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003163/0.02359, allocations: 131.4 kB / 272.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008812/0.0324, allocations: 7.463 MB / 279.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.03754, allocations: 1.915 MB / 281.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.04022, allocations: 1.601 MB / 283.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009104/0.04932, allocations: 9.821 MB / 293.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01836/0.06768, allocations: 13.51 MB / 306.7 MB, free: 460 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.0777, allocations: 7.816 MB / 314.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/0.08569, allocations: 5.97 MB / 320.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003264/0.08895, allocations: 1.359 MB / 321.9 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005487/0.09444, allocations: 1.644 MB / 323.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004121/0.09856, allocations: 2.899 MB / 326.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00762/0.1062, allocations: 3.638 MB / 330.1 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.1199, allocations: 9.396 MB / 339.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.1199, allocations: 0 / 339.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1199, allocations: 0 / 339.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005471/0.1204, allocations: 0 / 339.5 MB, free: 15.66 MB / 330.7 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.02346/0.1439, allocations: 11.96 MB / 351.4 MB, free: 3.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1439, allocations: 11.98 kB / 351.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2637/0.4077, allocations: 5.838 MB / 357.3 MB, free: 69.35 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009117/0.4168, allocations: 4.299 MB / 361.6 MB, free: 69.09 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.4174, allocations: 0.6696 MB / 362.2 MB, free: 69.07 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/0.4205, allocations: 0.8782 MB / 363.1 MB, free: 69.06 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4416, allocations: 7.396 MB / 370.5 MB, free: 68.35 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002416/0.4418, allocations: 18.5 kB / 370.5 MB, free: 68.34 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/0.4434, allocations: 373.6 kB / 370.9 MB, free: 68.34 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.4439, allocations: 499.3 kB / 371.4 MB, free: 68.32 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.4542, allocations: 3.376 MB / 374.8 MB, free: 68.02 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05372/0.508, allocations: 34.6 MB / 409.4 MB, free: 36.13 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.5123, allocations: 3.546 MB / 412.9 MB, free: 32.86 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.514, allocations: 1.154 MB / 414.1 MB, free: 31.73 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.5142, allocations: 111.9 kB / 414.2 MB, free: 31.62 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.5143, allocations: 85.14 kB / 414.2 MB, free: 31.54 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 8.135e-06/0.5143, allocations: 0 / 414.2 MB, free: 31.54 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.008737/0.523, allocations: 4.828 MB / 419.1 MB, free: 26.75 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.5231, allocations: 121.1 kB / 419.2 MB, free: 26.62 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.5262, allocations: 3.035 MB / 422.2 MB, free: 24.05 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000471/0.5267, allocations: 89.7 kB / 422.3 MB, free: 23.95 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.5285, allocations: 4.087 MB / 426.4 MB, free: 20.22 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.5298, allocations: 1.511 MB / 427.9 MB, free: 18.79 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.531, allocations: 1.296 MB / 429.2 MB, free: 17.59 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.5311, allocations: 484.7 kB / 429.7 MB, free: 17.11 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009032/0.532, allocations: 0.6787 MB / 430.4 MB, free: 16.43 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.5338, allocations: 3.819 MB / 434.2 MB, free: 11.49 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.5373, allocations: 5.056 MB / 439.2 MB, free: 5.57 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.41e-05/0.5373, allocations: 23.47 kB / 439.3 MB, free: 5.551 MB / 330.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006264/0.5436, allocations: 4.783 MB / 444 MB, free: 1.219 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.5436, allocations: 32 kB / 444.1 MB, free: 1.188 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.11e-05/0.5437, allocations: 72.03 kB / 444.1 MB, free: 1.117 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.5458, allocations: 1.016 MB / 445.2 MB, free: 116 kB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.5482, allocations: 1.165 MB / 446.3 MB, free: 15.04 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/0.5563, allocations: 7.569 MB / 453.9 MB, free: 7.414 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.5598, allocations: 0.5971 MB / 454.5 MB, free: 6.812 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/0.5603, allocations: 228 kB / 454.7 MB, free: 6.59 MB / 346.8 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.002388/0.5626, allocations: 0.5298 MB / 455.2 MB, free: 6.137 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/0.5634, allocations: 497.7 kB / 455.7 MB, free: 5.648 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005479/0.5689, allocations: 3.538 MB / 459.3 MB, free: 2.141 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003075/0.572, allocations: 2.454 MB / 461.7 MB, free: 15.72 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.572, allocations: 8 kB / 461.7 MB, free: 15.71 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/0.572, allocations: 27.91 kB / 461.8 MB, free: 15.69 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.5876, allocations: 10.8 MB / 472.6 MB, free: 5.711 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.5876, allocations: 12 kB / 472.6 MB, free: 5.699 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.5901, allocations: 0.674 MB / 473.2 MB, free: 5.07 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.5935, allocations: 0.9275 MB / 474.2 MB, free: 4.145 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004438/0.594, allocations: 104 kB / 474.3 MB, free: 4.043 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008527/0.6025, allocations: 7.461 MB / 481.7 MB, free: 12.51 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.6025, allocations: 23.69 kB / 481.8 MB, free: 12.49 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006951/0.6094, allocations: 4.974 MB / 486.7 MB, free: 7.355 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.6109, allocations: 0.7699 MB / 487.5 MB, free: 6.59 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.6113, allocations: 92.12 kB / 487.6 MB, free: 6.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/0.6123, allocations: 128 kB / 487.7 MB, free: 6.375 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.6128, allocations: 362 kB / 488.1 MB, free: 6.031 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.613, allocations: 112 kB / 488.2 MB, free: 5.922 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001817/0.6148, allocations: 1.259 MB / 489.4 MB, free: 4.77 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6148, allocations: 0 / 489.4 MB, free: 4.77 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005529/0.6203, allocations: 2.254 MB / 491.7 MB, free: 2.508 MB / 378.8 MB 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.0005781/0.6209, allocations: 283.7 kB / 492 MB, free: 2.266 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.1319/0.7528, allocations: 4.032 MB / 496 MB, free: 104 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/0.7528, allocations: 6.797 kB / 496 MB, free: 104 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003687/0.7565, allocations: 2.257 MB / 498.3 MB, free: 103.5 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.7601, allocations: 0.7921 MB / 499.1 MB, free: 103.5 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.7815, allocations: 13.31 MB / 0.5004 GB, free: 98.34 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.7843, allocations: 2.502 MB / 0.5028 GB, free: 98.08 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002507/0.7868, allocations: 0.6413 MB / 0.5034 GB, free: 97.96 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.7882, allocations: 0.89 MB / 0.5043 GB, free: 97.9 MB / 378.8 MB Notification: Performance of SimCode: time 3.036e-06/0.7882, allocations: 4 kB / 0.5043 GB, free: 97.9 MB / 378.8 MB Notification: Performance of Templates: time 0.08082/0.8691, allocations: 60.45 MB / 0.5633 GB, free: 45.06 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/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: 4.912100499030203]