Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001342/0.001342, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001444/0.001444, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 51.94 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1123, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2243/0.3366, allocations: 6.526 MB / 433.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.3416, allocations: 2.65 MB / 436 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.3424, allocations: 23.31 kB / 436 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.3454, allocations: 1.275 MB / 437.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3474, allocations: 0.5332 MB / 437.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.35, allocations: 1.263 MB / 439.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001808/0.3518, allocations: 1.08 MB / 440.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.353, allocations: 0.7002 MB / 440.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.3537, allocations: 461.1 kB / 441.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007362/0.3544, allocations: 0.5457 MB / 441.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.3546, allocations: 96.88 kB / 441.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3558, allocations: 422.8 kB / 442.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.356, allocations: 228.1 kB / 442.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.3565, allocations: 0.523 MB / 443.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.3593, allocations: 1.523 MB / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3593, allocations: 0 / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3593, allocations: 1.25 kB / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3594, allocations: 0 / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004965/0.3643, allocations: 1.674 MB / 446.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3644, allocations: 12.97 kB / 446.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.3678, allocations: 480.4 kB / 446.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/0.3686, allocations: 0.4899 MB / 447.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.3687, allocations: 85.97 kB / 447.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3689, allocations: 110.7 kB / 447.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.3709, allocations: 0.9775 MB / 448.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.3709, allocations: 5.172 kB / 448.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/0.371, allocations: 50.36 kB / 448.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.371, allocations: 30.25 kB / 448.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.373, allocations: 0.9564 MB / 449.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/0.3801, allocations: 3.773 MB / 453.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.3824, allocations: 1.483 MB / 454.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008164/0.3832, allocations: 393.2 kB / 455.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.3834, allocations: 188.3 kB / 455.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009767/0.3844, allocations: 464.6 kB / 455.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.385e-06/0.3844, allocations: 4 kB / 455.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01076/0.3951, allocations: 4.012 MB / 459.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.3953, allocations: 146.4 kB / 459.9 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.3959, allocations: 402.8 kB / 460.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.3959, allocations: 54.77 kB / 460.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.3963, allocations: 429.2 kB / 460.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.3968, allocations: 454 kB / 461.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.3972, allocations: 204.5 kB / 461.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3974, allocations: 378 kB / 461.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.3982, allocations: 351.4 kB / 462.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.3992, allocations: 0.5398 MB / 462.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.4011, allocations: 0.9354 MB / 463.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4011, allocations: 2.281 kB / 463.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003077/0.4042, allocations: 1.384 MB / 465 MB, free: 6.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4042, allocations: 10.47 kB / 465 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4042, allocations: 4.25 kB / 465 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.4052, allocations: 342.4 kB / 465.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.4062, allocations: 209.3 kB / 465.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009551/0.4157, allocations: 8.494 MB / 474.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.4168, allocations: 41.52 kB / 474.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4169, allocations: 51.36 kB / 474.1 MB, free: 14.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005802/0.4174, allocations: 255.1 kB / 474.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.4176, allocations: 75.88 kB / 474.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.4208, allocations: 1.29 MB / 475.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.4208, allocations: 12.38 kB / 475.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.4208, allocations: 6.875 kB / 475.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.4208, allocations: 7.969 kB / 475.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.4263, allocations: 2.523 MB / 478.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4264, allocations: 0 / 478.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.4271, allocations: 164 kB / 478.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009271/0.428, allocations: 329.5 kB / 478.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.4281, allocations: 27.98 kB / 478.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008755/0.4369, allocations: 8.122 MB / 486.9 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4369, allocations: 0 / 486.9 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.4407, allocations: 1.813 MB / 488.8 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.4411, allocations: 224.6 kB / 489 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4412, allocations: 27.98 kB / 489 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.4418, allocations: 39.98 kB / 489 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.442, allocations: 96.75 kB / 489.1 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.4421, allocations: 39.98 kB / 489.2 MB, free: 192 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003788/0.4425, allocations: 275.2 kB / 489.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4425, allocations: 0 / 489.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4438, allocations: 323.9 kB / 489.8 MB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003457/0.4442, allocations: 171 kB / 489.9 MB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.4473, allocations: 1.553 MB / 491.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4473, allocations: 0 / 491.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.4492, allocations: 1.1 MB / 492.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.4499, allocations: 84.41 kB / 492.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.4542, allocations: 1.953 MB / 494.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.455, allocations: 1.021 MB / 495.6 MB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.4555, allocations: 102.2 kB / 495.7 MB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4556, allocations: 59.42 kB / 495.8 MB, free: 9.383 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4556, allocations: 3.938 kB / 495.8 MB, free: 9.379 MB / 398.1 MB Notification: Performance of Templates: time 0.02538/0.481, allocations: 11.53 MB / 0.4954 GB, free: 13.86 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.220880392938852]