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.001351/0.001351, 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.001345/0.001345, 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.976/0.976, allocations: 173.3 MB / 201.1 MB, free: 9.367 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.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.314e-05, allocations: 10.25 kB / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004011/0.004034, allocations: 2.782 MB / 270.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.005619, allocations: 0.7164 MB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.005813, allocations: 8 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.005953, allocations: 63.41 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.006226, allocations: 99 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.006646, allocations: 131.7 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.007188, allocations: 466.6 kB / 272.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.007488, allocations: 149.3 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.007891, allocations: 279.5 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.00813, allocations: 151.6 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.008202, allocations: 44 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.008274, allocations: 48 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.008365, allocations: 99.69 kB / 273 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.008537, allocations: 155.7 kB / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.00896, allocations: 322.8 kB / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.008963, allocations: 0 / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008963, allocations: 0 / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.008972, allocations: 4 kB / 273.5 MB, free: 0.9648 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.001078/0.01005, allocations: 0.7145 MB / 274.2 MB, free: 220 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01009, allocations: 12.03 kB / 274.2 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.01023, allocations: 80.66 kB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01056, allocations: 220.7 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.0106, allocations: 33.38 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.01068, allocations: 44.38 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.01143, allocations: 0.5694 MB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.01146, allocations: 8.141 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.0115, allocations: 20.38 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.01152, allocations: 11.94 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.0119, allocations: 165.9 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.01366, allocations: 1.108 MB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.01406, allocations: 171.2 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.01439, allocations: 147.6 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.01443, allocations: 4 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.01447, allocations: 45.33 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.795e-06/0.01447, allocations: 0 / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001166/0.01564, allocations: 397.3 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.01575, allocations: 239.3 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01595, allocations: 237.8 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.01598, allocations: 29.7 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.01616, allocations: 259.2 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.01624, allocations: 103.1 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.01636, allocations: 67.36 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.01655, allocations: 0.504 MB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.01666, allocations: 39.97 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.01692, allocations: 336.2 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.01719, allocations: 151.6 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01719, allocations: 0 / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004023/0.01759, allocations: 221.2 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01761, allocations: 4 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01762, allocations: 4 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.01764, allocations: 8 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.01794, allocations: 79.89 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01794, allocations: 0 / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01807, allocations: 31.83 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.0181, allocations: 8 kB / 279.5 MB, free: 10.49 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.0001384/0.01823, allocations: 176.5 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.0183, allocations: 35.8 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.01835, allocations: 26.66 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.01836, allocations: 11.94 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.01837, allocations: 7.984 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01838, allocations: 0 / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.01941, allocations: 0.6273 MB / 280.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.01941, allocations: 0 / 280.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.01965, allocations: 55.89 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.02008, allocations: 87.66 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.02011, allocations: 4 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.02221, allocations: 2.135 MB / 282.6 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02222, allocations: 3.938 kB / 282.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.02286, allocations: 455.4 kB / 283.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.0229, allocations: 23.8 kB / 283.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.02293, allocations: 12.05 kB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.02307, allocations: 15.92 kB / 283.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.02314, allocations: 23.95 kB / 283.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02315, allocations: 8 kB / 283.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.02327, allocations: 172.1 kB / 283.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02327, allocations: 0 / 283.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004788/0.02375, allocations: 111.8 kB / 283.4 MB, free: 6.305 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.0001619/0.02392, allocations: 99.25 kB / 283.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.02426, allocations: 151.5 kB / 283.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02426, allocations: 0 / 283.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.02468, allocations: 314.1 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.02507, allocations: 36.17 kB / 284 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.02625, allocations: 0.7282 MB / 284.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.02634, allocations: 100.3 kB / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.149e-05/0.02643, allocations: 21.94 kB / 284.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.02649, allocations: 24.48 kB / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02649, allocations: 0 / 284.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of Templates: time 0.008984/0.03548, allocations: 3.254 MB / 288.1 MB, free: 1.535 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.7950708619318902]