Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors")
translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.91 kB / 370.9 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2364, allocations: 52.17 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003973/0.2403, allocations: 2.855 MB / 426 MB, free: 11.8 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001148/0.2415, allocations: 0.7244 MB / 426.7 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2416, allocations: 8 kB / 426.7 MB, free: 11.06 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2417, allocations: 63.34 kB / 426.8 MB, free: 11 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2419, allocations: 95.06 kB / 426.8 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.2422, allocations: 123.8 kB / 427 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004597/0.2427, allocations: 454.8 kB / 427.4 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.243, allocations: 161.4 kB / 427.6 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.2432, allocations: 183.5 kB / 427.7 MB, free: 9.996 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.2435, allocations: 203.2 kB / 427.9 MB, free: 9.797 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.091e-05/0.2436, allocations: 48 kB / 428 MB, free: 9.75 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.2436, allocations: 44 kB / 428 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2438, allocations: 103.7 kB / 428.1 MB, free: 9.605 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.244, allocations: 219 kB / 428.4 MB, free: 9.391 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.2446, allocations: 0.4992 MB / 428.9 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2446, allocations: 0 / 428.9 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.934e-06/0.2446, allocations: 4 kB / 428.9 MB, free: 8.895 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.636e-06/0.2446, allocations: 0 / 428.9 MB, free: 8.895 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 103
 * Number of variables: 103
Notification: Performance of Generate backend data structure: time 0.001121/0.2457, allocations: 0.6185 MB / 429.5 MB, free: 8.246 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2458, allocations: 12.03 kB / 429.5 MB, free: 8.234 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.2458, allocations: 48.66 kB / 429.5 MB, free: 8.188 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2462, allocations: 219.8 kB / 429.7 MB, free: 7.945 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.2462, allocations: 37.31 kB / 429.8 MB, free: 7.906 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.2463, allocations: 40.38 kB / 429.8 MB, free: 7.867 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.247, allocations: 455.6 kB / 430.3 MB, free: 7.391 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2471, allocations: 7.922 kB / 430.3 MB, free: 7.383 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.2471, allocations: 20 kB / 430.3 MB, free: 7.363 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2471, allocations: 12 kB / 430.3 MB, free: 7.352 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.2477, allocations: 275.9 kB / 430.6 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2497, allocations: 1.255 MB / 431.8 MB, free: 5.746 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.2501, allocations: 214.7 kB / 432 MB, free: 5.527 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.2505, allocations: 180.7 kB / 432.2 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2506, allocations: 8.484 kB / 432.2 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2506, allocations: 34.56 kB / 432.3 MB, free: 5.297 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=29): time 1.442e-06/0.2506, allocations: 7.938 kB / 432.3 MB, free: 5.289 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29): time 0.001429/0.252, allocations: 481.9 kB / 432.7 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.2522, allocations: 235.3 kB / 433 MB, free: 4.523 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.2525, allocations: 207 kB / 433.2 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.2525, allocations: 33.7 kB / 433.2 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.2527, allocations: 200.6 kB / 433.4 MB, free: 4.074 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.2528, allocations: 103.1 kB / 433.5 MB, free: 3.973 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.2529, allocations: 69.62 kB / 433.6 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001687/0.253, allocations: 338.8 kB / 433.9 MB, free: 3.559 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.2532, allocations: 71.97 kB / 434 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2534, allocations: 160.9 kB / 434.1 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.2538, allocations: 208.2 kB / 434.3 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2538, allocations: 0 / 434.3 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004837/0.2543, allocations: 273.1 kB / 434.6 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2543, allocations: 4 kB / 434.6 MB, free: 2.812 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2543, allocations: 4 kB / 434.6 MB, free: 2.809 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2544, allocations: 0 / 434.6 MB, free: 2.809 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.2547, allocations: 83.89 kB / 434.7 MB, free: 2.727 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2547, allocations: 4.062 kB / 434.7 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2549, allocations: 35.77 kB / 434.7 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.2549, allocations: 16.08 kB / 434.7 MB, free: 2.672 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (38):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.2551, allocations: 145.8 kB / 434.9 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.2551, allocations: 27.8 kB / 434.9 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.2552, allocations: 34.64 kB / 434.9 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2552, allocations: 4 kB / 434.9 MB, free: 2.457 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.2552, allocations: 0 / 434.9 MB, free: 2.457 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2552, allocations: 4 kB / 435 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2564, allocations: 0.7397 MB / 435.7 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2564, allocations: 3.984 kB / 435.7 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.2566, allocations: 51.91 kB / 435.7 MB, free: 1.605 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.257, allocations: 96.67 kB / 435.8 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.257, allocations: 12.03 kB / 435.9 MB, free: 1.496 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.2592, allocations: 1.873 MB / 437.7 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2592, allocations: 0 / 437.7 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.26, allocations: 0.4953 MB / 438.2 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.26, allocations: 23.8 kB / 438.2 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2601, allocations: 12.05 kB / 438.3 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2602, allocations: 16 kB / 438.3 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.2603, allocations: 19.95 kB / 438.3 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2603, allocations: 8 kB / 438.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001397/0.2604, allocations: 152.5 kB / 438.4 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2604, allocations: 4 kB / 438.5 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003946/0.2608, allocations: 111.7 kB / 438.6 MB, free: 14.65 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal)
 * 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 (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,10,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.261, allocations: 109.1 kB / 438.7 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004399/0.2614, allocations: 199.7 kB / 438.9 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2614, allocations: 0 / 438.9 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.2619, allocations: 270.6 kB / 439.1 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2623, allocations: 32.11 kB / 439.2 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2637, allocations: 0.8539 MB / 440 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.2642, allocations: 0.787 MB / 440.8 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.279e-05/0.2642, allocations: 29.94 kB / 440.8 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.2643, allocations: 23.42 kB / 440.9 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2643, allocations: 3.938 kB / 440.9 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of Templates: time 0.007701/0.272, allocations: 3.338 MB / 444.2 MB, free: 8.949 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 4.448352498933673]