Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001129/0.001129, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005503/0.005503, allocations: 161.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8816/0.8816, allocations: 177.2 MB / 205 MB, free: 5.363 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.072e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002261/0.002282, allocations: 2.596 MB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.003144, allocations: 0.7439 MB / 329.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.003234, allocations: 8 kB / 329.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.825e-05/0.003322, allocations: 67.34 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.003476, allocations: 102.9 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.003774, allocations: 135.7 kB / 329.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.004071, allocations: 458.7 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.004286, allocations: 149.4 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.004541, allocations: 291.4 kB / 330.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.004682, allocations: 139.6 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.004721, allocations: 44 kB / 330.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.004787, allocations: 52 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.004841, allocations: 107.6 kB / 330.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.292e-05/0.004934, allocations: 155.7 kB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.005275, allocations: 0.5217 MB / 331.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005277, allocations: 0 / 331.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005278, allocations: 4 kB / 331.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005284, allocations: 0 / 331.4 MB, free: 9.875 MB / 298.7 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.0007308/0.006014, allocations: 0.6107 MB / 332 MB, free: 9.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.006044, allocations: 8.031 kB / 332 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.006175, allocations: 64.64 kB / 332 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.006358, allocations: 217.8 kB / 332.3 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.00638, allocations: 33.38 kB / 332.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.006425, allocations: 44.33 kB / 332.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.006883, allocations: 0.6169 MB / 333 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.006896, allocations: 4.188 kB / 333 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.006922, allocations: 16.38 kB / 333 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006929, allocations: 11.94 kB / 333 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.007236, allocations: 283.9 kB / 333.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.008224, allocations: 1.089 MB / 334.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.008492, allocations: 214.7 kB / 334.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.008704, allocations: 180.7 kB / 334.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.008718, allocations: 4 kB / 334.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.008737, allocations: 34.56 kB / 334.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.008739, allocations: 4 kB / 334.8 MB, free: 6.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007342/0.009473, allocations: 482.3 kB / 335.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.009541, allocations: 235.3 kB / 335.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.009644, allocations: 175.3 kB / 335.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.009662, allocations: 33.7 kB / 335.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.009743, allocations: 204.6 kB / 335.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.009792, allocations: 111.1 kB / 336 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.009854, allocations: 65.44 kB / 336.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.009927, allocations: 326.8 kB / 336.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.01002, allocations: 75.95 kB / 336.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01019, allocations: 345 kB / 336.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01039, allocations: 204.7 kB / 337 MB, free: 3.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01039, allocations: 0 / 337 MB, free: 3.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002496/0.01064, allocations: 265.3 kB / 337.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01065, allocations: 4 kB / 337.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01066, allocations: 0 / 337.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01067, allocations: 7.938 kB / 337.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.01083, allocations: 79.95 kB / 337.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01084, allocations: 8 kB / 337.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.01091, allocations: 31.77 kB / 337.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01092, allocations: 12 kB / 337.4 MB, free: 3.445 MB / 298.7 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 9.458e-05/0.01102, allocations: 145.8 kB / 337.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.01106, allocations: 23.86 kB / 337.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.0111, allocations: 34.59 kB / 337.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.01111, allocations: 11.92 kB / 337.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.01112, allocations: 0 / 337.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01112, allocations: 0 / 337.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.01177, allocations: 0.6507 MB / 338.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01177, allocations: 4 kB / 338.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01191, allocations: 43.97 kB / 338.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.01211, allocations: 92.73 kB / 338.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.01212, allocations: 8 kB / 338.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.01343, allocations: 1.827 MB / 340.2 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01343, allocations: 7.922 kB / 340.2 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.01388, allocations: 498 kB / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.0139, allocations: 35.78 kB / 340.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01392, allocations: 15.88 kB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.01399, allocations: 12.06 kB / 340.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01403, allocations: 27.89 kB / 340.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01403, allocations: 8 kB / 340.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.0141, allocations: 140.3 kB / 340.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0141, allocations: 0 / 340.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01431, allocations: 107.7 kB / 341.1 MB, free: 15.59 MB / 314.7 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 7.919e-05/0.01439, allocations: 99.25 kB / 341.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.01462, allocations: 207.6 kB / 341.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01462, allocations: 3.938 kB / 341.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.01487, allocations: 258.5 kB / 341.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01509, allocations: 30.73 kB / 341.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.01578, allocations: 0.7635 MB / 342.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.01588, allocations: 180.6 kB / 342.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01592, allocations: 20.5 kB / 342.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01592, allocations: 0 / 342.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Templates: time 0.003902/0.01982, allocations: 4.131 MB / 346.7 MB, free: 9.828 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.320015361532569]