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.0009928/0.0009928, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009782/0.0009782, allocations: 143.1 kB / 24.89 MB, free: 8.785 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.9427/0.9427, allocations: 173.4 MB / 201.5 MB, free: 8.281 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.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.629e-05, allocations: 2.312 kB / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004104/0.00412, allocations: 2.794 MB / 271.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.005318, allocations: 0.7288 MB / 272 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.005418, allocations: 4 kB / 272 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.165e-05/0.00551, allocations: 59.42 kB / 272.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.005674, allocations: 104.5 kB / 272.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.005931, allocations: 129.1 kB / 272.3 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.006236, allocations: 462.6 kB / 272.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.006426, allocations: 166 kB / 272.9 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.00667, allocations: 279.5 kB / 273.2 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.006818, allocations: 151.5 kB / 273.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.00686, allocations: 44 kB / 273.4 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.006897, allocations: 48 kB / 273.5 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.006947, allocations: 95.66 kB / 273.5 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.007036, allocations: 155.7 kB / 273.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.007271, allocations: 323.3 kB / 274 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.007273, allocations: 0.9375 kB / 274 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007273, allocations: 0 / 274 MB, free: 4.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.007277, allocations: 0 / 274 MB, free: 4.262 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.0005419/0.007819, allocations: 0.5981 MB / 274.6 MB, free: 3.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.007847, allocations: 12.03 kB / 274.6 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.00791, allocations: 64.89 kB / 274.7 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.008073, allocations: 181.9 kB / 274.9 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.008094, allocations: 33.36 kB / 274.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.008138, allocations: 56.27 kB / 275 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.00848, allocations: 0.5316 MB / 275.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.008492, allocations: 192 / 275.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008511, allocations: 16.38 kB / 275.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.00852, allocations: 15.94 kB / 275.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.008657, allocations: 114.9 kB / 275.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.009545, allocations: 0.9075 MB / 276.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.009718, allocations: 146.7 kB / 276.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.009853, allocations: 127.1 kB / 276.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.009868, allocations: 8 kB / 276.8 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.009888, allocations: 38.5 kB / 276.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.303e-06/0.00989, allocations: 4 kB / 276.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005371/0.01043, allocations: 322.6 kB / 277.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003144/0.01074, allocations: 243.3 kB / 277.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.01083, allocations: 166.5 kB / 277.6 MB, free: 440 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01085, allocations: 41.64 kB / 277.6 MB, free: 392 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.01093, allocations: 200.5 kB / 277.8 MB, free: 188 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.01098, allocations: 107.1 kB / 277.9 MB, free: 80 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.01103, allocations: 65.62 kB / 278 MB, free: 8 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.01111, allocations: 338.8 kB / 278.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.01115, allocations: 27.98 kB / 278.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.01127, allocations: 284.2 kB / 278.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.01139, allocations: 124.1 kB / 278.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01139, allocations: 0 / 278.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001496/0.01154, allocations: 153.4 kB / 278.9 MB, free: 15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01155, allocations: 7.938 kB / 278.9 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01155, allocations: 7.984 kB / 278.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.01156, allocations: 4.062 kB / 278.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.0118, allocations: 113.8 kB / 279 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.0118, allocations: 0 / 279 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.01187, allocations: 23.89 kB / 279 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01188, allocations: 8 kB / 279 MB, free: 14.84 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 7.035e-05/0.01195, allocations: 121.8 kB / 279.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01198, allocations: 31.91 kB / 279.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.01201, allocations: 26.66 kB / 279.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01202, allocations: 8 kB / 279.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01202, allocations: 0 / 279.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01202, allocations: 3.984 kB / 279.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.01244, allocations: 451.9 kB / 279.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.01244, allocations: 0 / 279.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.01259, allocations: 66.28 kB / 279.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.01277, allocations: 88.75 kB / 279.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01278, allocations: 4 kB / 279.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00085/0.01363, allocations: 1.495 MB / 281.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01364, allocations: 0 / 281.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.0139, allocations: 337.4 kB / 281.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01392, allocations: 23.78 kB / 281.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01394, allocations: 8 kB / 281.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.014, allocations: 8 kB / 281.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.01404, allocations: 27.94 kB / 281.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.01405, allocations: 8.031 kB / 281.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.01408, allocations: 50.39 kB / 281.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01408, allocations: 0 / 281.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01428, allocations: 115.7 kB / 281.9 MB, free: 11.84 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 6.336e-05/0.01435, allocations: 76.42 kB / 282 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01449, allocations: 132.6 kB / 282.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01449, allocations: 112 / 282.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.0147, allocations: 255.8 kB / 282.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.01487, allocations: 39.98 kB / 282.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.01547, allocations: 0.6304 MB / 283 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.01553, allocations: 100.2 kB / 283.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.01559, allocations: 25.94 kB / 283.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.0157, allocations: 107.3 kB / 283.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0157, allocations: 0 / 283.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Templates: time 0.005149/0.02085, allocations: 3.587 MB / 286.8 MB, free: 6.898 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 -s gbode -gbm=radauIIA3 -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.5667383410036564]