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.0007131/0.0007131, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001764, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.00099/0.00099, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002364, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.869/0.869, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07934/0.9483, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.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.764e-06/1.764e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.135e-05, allocations: 2.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002942/0.002963, allocations: 2.797 MB / 242.3 MB, free: 372 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.003898, allocations: 0.7437 MB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.003986, allocations: 4 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.457e-05/0.00407, allocations: 67.41 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.004209, allocations: 106.8 kB / 243.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.004413, allocations: 123.8 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.004725, allocations: 462.6 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.004926, allocations: 163.2 kB / 244 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.005178, allocations: 303.3 kB / 244.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.005326, allocations: 147.5 kB / 244.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.005371, allocations: 44 kB / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.99e-05/0.005411, allocations: 48 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.005458, allocations: 71.81 kB / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.005548, allocations: 127.8 kB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.005788, allocations: 294.9 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.005802, allocations: 4 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005803, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.005817, allocations: 0 / 245 MB, free: 13.68 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.0006912/0.006508, allocations: 0.6754 MB / 245.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.006539, allocations: 12.03 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.006608, allocations: 72.88 kB / 245.8 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.006781, allocations: 177.9 kB / 245.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.006803, allocations: 33.38 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.006852, allocations: 48.33 kB / 246 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.007212, allocations: 0.5277 MB / 246.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.007225, allocations: 192 / 246.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.007246, allocations: 20.38 kB / 246.6 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007253, allocations: 11.94 kB / 246.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.00739, allocations: 118.9 kB / 246.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.00831, allocations: 0.9075 MB / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.008505, allocations: 158.9 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.008645, allocations: 116.7 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.008663, allocations: 8 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.008687, allocations: 38.5 kB / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.008688, allocations: 0 / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.000571/0.009259, allocations: 326.6 kB / 248.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.009286, allocations: 55.41 kB / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.009379, allocations: 186.4 kB / 248.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.009395, allocations: 33.7 kB / 248.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.00947, allocations: 200.5 kB / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.009519, allocations: 107.1 kB / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.009575, allocations: 69.61 kB / 248.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.009656, allocations: 334.8 kB / 249.2 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.009691, allocations: 27.98 kB / 249.2 MB, free: 9.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.00981, allocations: 292 kB / 249.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.009918, allocations: 127.1 kB / 249.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00992, allocations: 0 / 249.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001515/0.01007, allocations: 157.4 kB / 249.8 MB, free: 8.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01009, allocations: 4 kB / 249.8 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01009, allocations: 0 / 249.8 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.0101, allocations: 4 kB / 249.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.01036, allocations: 115.5 kB / 249.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01037, allocations: 3.984 kB / 249.9 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.01043, allocations: 19.89 kB / 249.9 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01044, allocations: 20.08 kB / 250 MB, free: 8.379 MB / 250.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 7.198e-05/0.01051, allocations: 121.8 kB / 250.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.01055, allocations: 31.91 kB / 250.1 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.01058, allocations: 26.66 kB / 250.1 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.01058, allocations: 4 kB / 250.1 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01059, allocations: 4 kB / 250.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01059, allocations: 3.984 kB / 250.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.01103, allocations: 457.9 kB / 250.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.01103, allocations: 0 / 250.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.0112, allocations: 67.92 kB / 250.7 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01122, allocations: 19.8 kB / 250.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.01142, allocations: 84.78 kB / 250.8 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01143, allocations: 11.98 kB / 250.8 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008788/0.01231, allocations: 1.48 MB / 252.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01231, allocations: 0 / 252.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.01258, allocations: 345.4 kB / 252.6 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01259, allocations: 4 kB / 252.6 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.01267, allocations: 12 kB / 252.6 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.0127, allocations: 27.94 kB / 252.6 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01271, allocations: 4 kB / 252.6 MB, free: 5.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.01274, allocations: 49.8 kB / 252.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01274, allocations: 4 kB / 252.7 MB, free: 5.496 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.01294, allocations: 111.7 kB / 252.8 MB, free: 5.387 MB / 250.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 8.737e-05/0.01303, allocations: 88.41 kB / 252.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.01318, allocations: 120.7 kB / 253 MB, free: 5.172 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.01319, allocations: 7.984 kB / 253 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.01339, allocations: 248 kB / 253.2 MB, free: 4.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.01359, allocations: 63.86 kB / 253.3 MB, free: 4.848 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.01481, allocations: 0.6593 MB / 254 MB, free: 4.152 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.095e-05/0.01487, allocations: 104.3 kB / 254.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.01494, allocations: 21.95 kB / 254.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01506, allocations: 111.3 kB / 254.2 MB, free: 3.902 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01506, allocations: 0 / 254.2 MB, free: 3.902 MB / 250.7 MB Notification: Performance of Templates: time 0.005426/0.02048, allocations: 3.772 MB / 258 MB, free: 196 kB / 250.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 -ignoreHideResult -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.460532105527818]