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.001778/0.001778, allocations: 81.66 kB / 20.68 MB, free: 1.023 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.002137/0.002137, allocations: 151 kB / 23.94 MB, free: 4.164 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.419/1.419, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.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 1.783e-06/1.783e-06, allocations: 0.5625 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.165e-05, allocations: 7.5 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002959/0.002981, allocations: 2.568 MB / 321.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.00401, allocations: 0.6893 MB / 322.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004129, allocations: 6.5 kB / 322.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.004243, allocations: 63.84 kB / 322.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.004426, allocations: 97.39 kB / 322.3 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.004719, allocations: 131 kB / 322.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.005087, allocations: 466.9 kB / 322.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.005337, allocations: 158.2 kB / 323.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.005636, allocations: 279.6 kB / 323.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.00584, allocations: 140.4 kB / 323.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.005908, allocations: 46.25 kB / 323.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.005977, allocations: 44.97 kB / 323.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.006051, allocations: 101.4 kB / 323.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.006198, allocations: 151.5 kB / 323.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.006676, allocations: 0.5126 MB / 324.3 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006679, allocations: 3.938 kB / 324.3 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00668, allocations: 4 kB / 324.3 MB, free: 288 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.006686, allocations: 1.375 kB / 324.3 MB, free: 288 kB / 286.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.001013/0.007699, allocations: 0.6162 MB / 325 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.007734, allocations: 8.25 kB / 325 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.007825, allocations: 56.78 kB / 325 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.008148, allocations: 219.1 kB / 325.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.008181, allocations: 31.25 kB / 325.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.008255, allocations: 40.77 kB / 325.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.009112, allocations: 0.6227 MB / 325.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.009132, allocations: 2.078 kB / 325.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.009176, allocations: 20.72 kB / 326 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.00919, allocations: 13.81 kB / 326 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.009743, allocations: 280.1 kB / 326.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.01161, allocations: 1.095 MB / 327.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.01206, allocations: 228.4 kB / 327.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.01246, allocations: 175.1 kB / 327.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01248, allocations: 2.438 kB / 327.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.01252, allocations: 38.53 kB / 327.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.01252, allocations: 0 / 327.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001479/0.014, allocations: 472.1 kB / 328.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.01415, allocations: 236.3 kB / 328.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01435, allocations: 177.9 kB / 328.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.01438, allocations: 32.42 kB / 328.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.01454, allocations: 208.9 kB / 328.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.01464, allocations: 111.8 kB / 329 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01474, allocations: 59.98 kB / 329 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.01491, allocations: 335 kB / 329.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.01507, allocations: 73.61 kB / 329.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.01542, allocations: 342.1 kB / 329.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01578, allocations: 198.9 kB / 330 MB, free: 12.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01578, allocations: 0 / 330 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004864/0.01627, allocations: 270.6 kB / 330.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01628, allocations: 6.219 kB / 330.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01629, allocations: 1.094 kB / 330.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01631, allocations: 5.969 kB / 330.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.01665, allocations: 85.73 kB / 330.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.01666, allocations: 6.703 kB / 330.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01684, allocations: 30.09 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.01687, allocations: 15.95 kB / 330.4 MB, free: 12.17 MB / 302.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.0001651/0.01703, allocations: 152.5 kB / 330.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.01709, allocations: 18.56 kB / 330.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/0.01715, allocations: 28.27 kB / 330.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.01716, allocations: 8.266 kB / 330.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.01717, allocations: 2.094 kB / 330.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01718, allocations: 1.219 kB / 330.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.01824, allocations: 0.6503 MB / 331.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01825, allocations: 2.359 kB / 331.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.0185, allocations: 46.66 kB / 331.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/0.01882, allocations: 85.7 kB / 331.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.01884, allocations: 7.156 kB / 331.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.02102, allocations: 1.839 MB / 333.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.02102, allocations: 5 kB / 333.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.02185, allocations: 0.4989 MB / 333.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.02189, allocations: 27.81 kB / 333.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.02193, allocations: 12.05 kB / 333.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.0221, allocations: 11.03 kB / 333.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.02217, allocations: 29.58 kB / 333.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.02219, allocations: 6.141 kB / 333.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.02231, allocations: 134.3 kB / 333.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02232, allocations: 0 / 333.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.02272, allocations: 110.5 kB / 334 MB, free: 9.527 MB / 302.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.0001386/0.02286, allocations: 98.53 kB / 334.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.02329, allocations: 201.3 kB / 334.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02329, allocations: 5.188 kB / 334.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.02374, allocations: 266.8 kB / 334.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.02412, allocations: 37.48 kB / 334.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02538, allocations: 0.713 MB / 335.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.02557, allocations: 184.1 kB / 335.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.781e-05/0.02566, allocations: 19.02 kB / 335.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.02572, allocations: 29.75 kB / 335.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02572, allocations: 4 kB / 335.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of Templates: time 0.007736/0.03346, allocations: 3.081 MB / 338.7 MB, free: 7.02 MB / 302.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.255487475544214]