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.001408/0.001408, allocations: 72.08 kB / 21.69 MB, free: 2.852 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.0009655/0.0009655, allocations: 146 kB / 24.97 MB, free: 9.348 MB / 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.9993/0.9993, allocations: 173.4 MB / 201.5 MB, free: 9.348 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 1.343e-06/1.343e-06, allocations: 0 / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.877e-05, allocations: 6.312 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002774/0.002793, allocations: 2.779 MB / 270.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003873, allocations: 0.7048 MB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.00398, allocations: 11.94 kB / 271.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.489e-05/0.004075, allocations: 59.42 kB / 271.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.004255, allocations: 103 kB / 271.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.004561, allocations: 135.6 kB / 271.9 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.004911, allocations: 458.7 kB / 272.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.005148, allocations: 153.3 kB / 272.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.005416, allocations: 283.4 kB / 272.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.005572, allocations: 143.6 kB / 272.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.00562, allocations: 48 kB / 272.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.005657, allocations: 44 kB / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.005714, allocations: 103.6 kB / 273.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.005814, allocations: 155.7 kB / 273.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.006087, allocations: 318.8 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006091, allocations: 11.98 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006092, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.006097, allocations: 0 / 273.5 MB, free: 1.25 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.0007193/0.006816, allocations: 0.7145 MB / 274.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.006854, allocations: 11.97 kB / 274.3 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.006946, allocations: 80.66 kB / 274.3 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.007188, allocations: 220.7 kB / 274.6 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.007211, allocations: 29.38 kB / 274.6 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.007263, allocations: 48.38 kB / 274.6 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.007731, allocations: 0.5694 MB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.007745, allocations: 4.141 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.007772, allocations: 16.38 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.007785, allocations: 11.94 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.008027, allocations: 173.8 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.009126, allocations: 1.104 MB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.009382, allocations: 179.2 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.00958, allocations: 131.6 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.009595, allocations: 4 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.00962, allocations: 41.39 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.009622, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007469/0.01037, allocations: 413.2 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.01044, allocations: 239.3 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.01056, allocations: 233.8 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01058, allocations: 41.64 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01068, allocations: 259.2 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.01073, allocations: 103.1 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.0108, allocations: 67.36 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.01091, allocations: 0.5001 MB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.01098, allocations: 39.97 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.01114, allocations: 336.2 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.01131, allocations: 155.6 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01131, allocations: 4 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002385/0.01155, allocations: 217.2 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01157, allocations: 10.97 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01157, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01158, allocations: 3.938 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.01176, allocations: 83.89 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01177, allocations: 0 / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.01184, allocations: 27.84 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01185, allocations: 8 kB / 279.5 MB, free: 10.77 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 9.481e-05/0.01195, allocations: 180.6 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.01199, allocations: 31.86 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.01203, allocations: 30.66 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01203, allocations: 7.938 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.01204, allocations: 4 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01204, allocations: 7.984 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.01261, allocations: 0.6195 MB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01261, allocations: 0 / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.01275, allocations: 55.94 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.01301, allocations: 91.55 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01303, allocations: 8 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.01425, allocations: 2.127 MB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01425, allocations: 3.938 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.01466, allocations: 463.4 kB / 283.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.01468, allocations: 19.8 kB / 283.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.0147, allocations: 15.97 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.01477, allocations: 8 kB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.01483, allocations: 31.94 kB / 283.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.01484, allocations: 4 kB / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.01491, allocations: 160.2 kB / 283.4 MB, free: 6.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01491, allocations: 0 / 283.4 MB, free: 6.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.01514, allocations: 111.7 kB / 283.5 MB, free: 6.598 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.000102/0.01525, allocations: 103.2 kB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01547, allocations: 155.5 kB / 283.8 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01548, allocations: 0 / 283.8 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.01575, allocations: 306.1 kB / 284.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01599, allocations: 39.91 kB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.01676, allocations: 0.7284 MB / 284.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.974e-05/0.01682, allocations: 96.3 kB / 284.9 MB, free: 5.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.01689, allocations: 25.94 kB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01693, allocations: 24.5 kB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01693, allocations: 0 / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of Templates: time 0.004731/0.02166, allocations: 3.138 MB / 288.1 MB, free: 1.941 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: 2.8255750630050898]