Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001811/0.001811, allocations: 86.3 kB / 21.44 MB, free: 296 kB / 14.72 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.002175/0.002175, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.575e-05, allocations: 6.219 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003529/0.003554, allocations: 2.521 MB / 301.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004779, allocations: 0.7253 MB / 302.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.004888, allocations: 4 kB / 302.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.005004, allocations: 59.42 kB / 302.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.005198, allocations: 99 kB / 302.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.005538, allocations: 131.7 kB / 302.5 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.006008, allocations: 446.7 kB / 302.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.006283, allocations: 161.4 kB / 303.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.006609, allocations: 275.4 kB / 303.3 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.006826, allocations: 135.6 kB / 303.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.006895, allocations: 48 kB / 303.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.006967, allocations: 44 kB / 303.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.007061, allocations: 107.6 kB / 303.7 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.007223, allocations: 147.7 kB / 303.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.007733, allocations: 0.5023 MB / 304.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007736, allocations: 0 / 304.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007737, allocations: 4 kB / 304.3 MB, free: 3.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.007743, allocations: 7.938 kB / 304.3 MB, free: 3.32 MB / 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.001144/0.008887, allocations: 0.6145 MB / 304.9 MB, free: 2.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.008931, allocations: 15.98 kB / 304.9 MB, free: 2.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.009026, allocations: 44.66 kB / 305 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.009357, allocations: 225.8 kB / 305.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.009399, allocations: 33.38 kB / 305.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.009473, allocations: 40.38 kB / 305.3 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.01032, allocations: 0.6247 MB / 305.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.01034, allocations: 4.172 kB / 305.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.01038, allocations: 16.38 kB / 305.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.0104, allocations: 11.94 kB / 305.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.01096, allocations: 279.9 kB / 306.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.01277, allocations: 1.089 MB / 307.3 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.01325, allocations: 214.8 kB / 307.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.01364, allocations: 180.7 kB / 307.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.01366, allocations: 4 kB / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.0137, allocations: 34.56 kB / 307.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.0137, allocations: 4 kB / 307.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001409/0.01511, allocations: 470.3 kB / 308.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.01524, allocations: 235.3 kB / 308.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01542, allocations: 179.5 kB / 308.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.01545, allocations: 37.7 kB / 308.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.01559, allocations: 212.5 kB / 308.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.01567, allocations: 99.12 kB / 308.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.01577, allocations: 65.64 kB / 309 MB, free: 14.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01591, allocations: 326.8 kB / 309.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.01607, allocations: 83.66 kB / 309.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.01638, allocations: 336.5 kB / 309.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008929/0.01728, allocations: 377.9 kB / 310.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01728, allocations: 0 / 310.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004738/0.01775, allocations: 265.2 kB / 310.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.01777, allocations: 8 kB / 310.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01778, allocations: 0 / 310.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.0178, allocations: 7.922 kB / 310.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.01813, allocations: 79.91 kB / 310.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.01814, allocations: 8.062 kB / 310.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.01831, allocations: 27.83 kB / 310.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.01833, allocations: 12 kB / 310.5 MB, free: 12.73 MB / 302.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0002724/0.0186, allocations: 165.6 kB / 310.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.01866, allocations: 19.86 kB / 310.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.01871, allocations: 26.66 kB / 310.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.01872, allocations: 7.938 kB / 310.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.01873, allocations: 8 kB / 310.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.01874, allocations: 7.969 kB / 310.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.01975, allocations: 0.6498 MB / 311.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.01975, allocations: 0 / 311.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.02, allocations: 47.97 kB / 311.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.02029, allocations: 84.8 kB / 311.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.02031, allocations: 11.94 kB / 311.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.02233, allocations: 1.823 MB / 313.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.02233, allocations: 7.969 kB / 313.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.02311, allocations: 0.4984 MB / 313.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.02314, allocations: 23.91 kB / 313.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.02318, allocations: 12 kB / 313.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.02335, allocations: 15.98 kB / 313.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.02341, allocations: 27.89 kB / 313.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02342, allocations: 4 kB / 313.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.02353, allocations: 135.5 kB / 314.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02353, allocations: 0 / 314.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.02391, allocations: 111.7 kB / 314.2 MB, free: 8.875 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.0001277/0.02404, allocations: 99.25 kB / 314.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.02446, allocations: 195.8 kB / 314.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02446, allocations: 0 / 314.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.0249, allocations: 270.4 kB / 314.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.02519, allocations: 18.81 kB / 314.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.02632, allocations: 0.7344 MB / 315.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.02649, allocations: 176.8 kB / 315.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.02656, allocations: 25.94 kB / 315.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.02662, allocations: 24.48 kB / 315.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02662, allocations: 0 / 315.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Templates: time 0.007544/0.03417, allocations: 2.857 MB / 318.6 MB, free: 4.414 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.358620893210173]