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.001623/0.001623, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009954/0.0009954, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9905/0.9905, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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 2.365e-06/2.365e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.786e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004673/0.004711, allocations: 2.783 MB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.006572, allocations: 0.7164 MB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.006796, allocations: 12 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.006951, allocations: 59.42 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.00731, allocations: 103 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.007817, allocations: 127.7 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000612/0.008429, allocations: 462.6 kB / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.008764, allocations: 157.2 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.009308, allocations: 283.5 kB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.009602, allocations: 143.6 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.009704, allocations: 48 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.009783, allocations: 44 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.009875, allocations: 99.7 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.01008, allocations: 155.6 kB / 273.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.01058, allocations: 318.8 kB / 273.4 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.01059, allocations: 3.984 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01059, allocations: 4 kB / 273.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.0106, allocations: 0 / 273.5 MB, free: 0.9258 MB / 250.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.001172/0.01177, allocations: 0.7145 MB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.01182, allocations: 12.03 kB / 274.2 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.01198, allocations: 76.66 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01238, allocations: 228.7 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.01241, allocations: 33.38 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.01251, allocations: 48.38 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.01334, allocations: 0.5655 MB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.01336, allocations: 8.141 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.01341, allocations: 16.38 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.01343, allocations: 11.94 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.01389, allocations: 169.9 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.01592, allocations: 1.104 MB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.01637, allocations: 171.2 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.01672, allocations: 139.6 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.01675, allocations: 4 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.01679, allocations: 45.33 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/0.0168, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001124/0.01792, allocations: 401.2 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.01801, allocations: 239.3 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01816, allocations: 233.8 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01818, allocations: 33.7 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.0183, allocations: 263.2 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.01835, allocations: 103.1 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.01842, allocations: 67.36 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01854, allocations: 0.504 MB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.01861, allocations: 39.97 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.01879, allocations: 332.2 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.01897, allocations: 151.6 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01897, allocations: 0 / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002504/0.01922, allocations: 221.2 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01924, allocations: 8 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01925, allocations: 4.062 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01927, allocations: 3.938 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.01949, allocations: 83.89 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.0195, allocations: 0 / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/0.01959, allocations: 27.78 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.0196, allocations: 12 kB / 279.5 MB, free: 10.45 MB / 266.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 0.0001128/0.01971, allocations: 176.5 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.01975, allocations: 31.86 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.0198, allocations: 30.66 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.01981, allocations: 15.92 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01982, allocations: 0 / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01982, allocations: 7.984 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.02045, allocations: 0.6195 MB / 280.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02046, allocations: 0 / 280.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.0206, allocations: 55.91 kB / 280.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.02087, allocations: 91.64 kB / 280.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.02089, allocations: 4 kB / 280.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.02219, allocations: 2.135 MB / 282.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.0222, allocations: 3.938 kB / 282.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.02262, allocations: 463.4 kB / 283.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.02264, allocations: 23.8 kB / 283.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.02266, allocations: 11.94 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.02275, allocations: 8 kB / 283.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.0228, allocations: 27.94 kB / 283.1 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.02282, allocations: 8 kB / 283.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.02289, allocations: 164.2 kB / 283.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02289, allocations: 3.938 kB / 283.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.02317, allocations: 111.7 kB / 283.4 MB, free: 6.266 MB / 266.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 0.0001118/0.02328, allocations: 99.23 kB / 283.5 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.0235, allocations: 155.5 kB / 283.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.0235, allocations: 0 / 283.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.0238, allocations: 310.3 kB / 284 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.02405, allocations: 38.78 kB / 284 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.02487, allocations: 0.7321 MB / 284.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.02494, allocations: 96.3 kB / 284.8 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.02499, allocations: 21.94 kB / 284.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.02504, allocations: 24.5 kB / 284.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02505, allocations: 0 / 284.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of Templates: time 0.005126/0.03017, allocations: 3.138 MB / 288 MB, free: 1.617 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0842890460044146]