Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009087/0.0009087, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009492/0.0009492, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.97/0.97, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.373e-05, allocations: 2.312 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.007222/0.007235, allocations: 2.752 MB / 276.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.008433, allocations: 0.7528 MB / 277.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.008569, allocations: 8 kB / 277.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.008696, allocations: 69.28 kB / 277.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.008928, allocations: 99 kB / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.009292, allocations: 132.8 kB / 278 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.01205, allocations: 462.6 kB / 278.4 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.01244, allocations: 149.5 kB / 278.6 MB, free: 16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.01303, allocations: 291.3 kB / 278.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.01328, allocations: 151.5 kB / 279 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.01335, allocations: 48 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.01346, allocations: 48 kB / 279.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.01355, allocations: 107.6 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.01369, allocations: 151.7 kB / 279.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.01413, allocations: 338.7 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.01413, allocations: 0 / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01413, allocations: 4 kB / 279.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.01414, allocations: 0 / 279.7 MB, free: 14.88 MB / 266.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.0009327/0.01507, allocations: 0.7183 MB / 280.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.01511, allocations: 8.031 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.01537, allocations: 92.64 kB / 280.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.01564, allocations: 228.7 kB / 280.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.01568, allocations: 29.38 kB / 280.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.01575, allocations: 52.31 kB / 280.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.01629, allocations: 0.5303 MB / 281.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.01631, allocations: 8.125 kB / 281.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.01634, allocations: 20.36 kB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.01636, allocations: 19.88 kB / 281.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.0166, allocations: 134.9 kB / 281.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01805, allocations: 1.066 MB / 282.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.01836, allocations: 167.2 kB / 282.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.01858, allocations: 123.6 kB / 282.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01861, allocations: 4.5 kB / 282.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.01864, allocations: 45.33 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.993e-06/0.01864, allocations: 0 / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009779/0.01962, allocations: 373.5 kB / 283.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.01971, allocations: 243.2 kB / 283.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01986, allocations: 225.8 kB / 283.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01989, allocations: 33.7 kB / 283.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.02002, allocations: 255.3 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.0201, allocations: 107 kB / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.0202, allocations: 71.31 kB / 284.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.02035, allocations: 0.5001 MB / 284.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.02042, allocations: 35.91 kB / 284.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.02062, allocations: 325.1 kB / 285.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.02081, allocations: 133.2 kB / 285.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02081, allocations: 4 kB / 285.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003134/0.02113, allocations: 197.2 kB / 285.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.02115, allocations: 8 kB / 285.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.02115, allocations: 0 / 285.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.02116, allocations: 4 kB / 285.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.02146, allocations: 75.89 kB / 285.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.02146, allocations: 8.016 kB / 285.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.02158, allocations: 35.77 kB / 285.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.0216, allocations: 7.984 kB / 285.5 MB, free: 8.602 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.0001236/0.02173, allocations: 176.5 kB / 285.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.02179, allocations: 35.92 kB / 285.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.02184, allocations: 26.66 kB / 285.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02184, allocations: 3.984 kB / 285.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.02185, allocations: 7.938 kB / 285.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.02185, allocations: 0 / 285.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.02262, allocations: 0.5629 MB / 286.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02262, allocations: 0 / 286.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.02284, allocations: 59.78 kB / 286.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.02315, allocations: 87.58 kB / 286.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.02318, allocations: 15.98 kB / 286.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.02487, allocations: 2.069 MB / 288.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.02487, allocations: 0 / 288.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.02542, allocations: 439.5 kB / 289 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.02545, allocations: 23.8 kB / 289 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.02549, allocations: 8 kB / 289 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.02563, allocations: 11.98 kB / 289 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.02569, allocations: 31.92 kB / 289.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.02571, allocations: 4 kB / 289.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.0258, allocations: 160.7 kB / 289.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0258, allocations: 0 / 289.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.02622, allocations: 115.7 kB / 289.3 MB, free: 4.586 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.0001271/0.02635, allocations: 103.2 kB / 289.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.02661, allocations: 144.1 kB / 289.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02661, allocations: 0 / 289.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.02698, allocations: 308.6 kB / 289.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.02734, allocations: 28.31 kB / 289.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02845, allocations: 0.7166 MB / 290.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.02854, allocations: 100.3 kB / 290.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.789e-05/0.02863, allocations: 17.95 kB / 290.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.02882, allocations: 130.2 kB / 290.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02882, allocations: 0 / 290.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of Templates: time 0.00778/0.0366, allocations: 3.395 MB / 294.3 MB, free: 15.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8231678940355778]