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.0007081/0.0007081, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001771, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006799/0.0006799, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009196/0.0016, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9704/0.9704, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08116/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.082e-06/1.082e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.045e-05, allocations: 5.969 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002282/0.002293, allocations: 2.824 MB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.003036, allocations: 0.7825 MB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.003112, allocations: 4 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.314e-05/0.003195, allocations: 59.42 kB / 248.4 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.003314, allocations: 110.9 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003506, allocations: 127.7 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.003795, allocations: 466.6 kB / 249.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.003981, allocations: 151.4 kB / 249.2 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.004232, allocations: 311.3 kB / 249.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.004379, allocations: 151.5 kB / 249.7 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.004418, allocations: 44 kB / 249.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.004502, allocations: 56 kB / 249.8 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.004547, allocations: 71.81 kB / 249.8 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.004637, allocations: 131.8 kB / 250 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.00488, allocations: 294.9 kB / 250.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.004891, allocations: 0 / 250.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004891, allocations: 0 / 250.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.004902, allocations: 0 / 250.3 MB, free: 8.648 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.000655/0.005557, allocations: 0.6948 MB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.005589, allocations: 8.031 kB / 251 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.005793, allocations: 154 kB / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.006018, allocations: 181.9 kB / 251.3 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.006041, allocations: 37.31 kB / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.00609, allocations: 44.38 kB / 251.4 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.006433, allocations: 0.5238 MB / 251.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.006447, allocations: 8.172 kB / 251.9 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.006467, allocations: 20.38 kB / 251.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006477, allocations: 15.94 kB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.006607, allocations: 107 kB / 252 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.00748, allocations: 0.9153 MB / 252.9 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.007658, allocations: 150.7 kB / 253.1 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.00779, allocations: 124.7 kB / 253.2 MB, free: 5.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.007806, allocations: 4 kB / 253.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.007826, allocations: 38.56 kB / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.007827, allocations: 0 / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006085/0.008436, allocations: 335.3 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.008458, allocations: 55.41 kB / 253.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.008552, allocations: 171.8 kB / 253.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.00857, allocations: 37.69 kB / 253.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.008642, allocations: 200.5 kB / 254 MB, free: 4.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.008688, allocations: 107 kB / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.008741, allocations: 57.69 kB / 254.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.00882, allocations: 334.8 kB / 254.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.008853, allocations: 27.98 kB / 254.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.008974, allocations: 300.8 kB / 254.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.009085, allocations: 127.6 kB / 255 MB, free: 3.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009087, allocations: 0 / 255 MB, free: 3.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001424/0.00923, allocations: 153.5 kB / 255.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.00924, allocations: 4 kB / 255.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.009244, allocations: 0 / 255.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.009255, allocations: 4 kB / 255.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.009502, allocations: 119.8 kB / 255.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.009505, allocations: 0 / 255.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.009571, allocations: 35.77 kB / 255.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.00958, allocations: 8 kB / 255.3 MB, free: 3.23 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 6.996e-05/0.00965, allocations: 125.8 kB / 255.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.009677, allocations: 27.92 kB / 255.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.009712, allocations: 34.64 kB / 255.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009715, allocations: 4 kB / 255.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.009718, allocations: 4 kB / 255.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009722, allocations: 4 kB / 255.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.01013, allocations: 450.8 kB / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01013, allocations: 0 / 255.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.01028, allocations: 67.59 kB / 256 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.0103, allocations: 23.8 kB / 256 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.01048, allocations: 76.83 kB / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.01049, allocations: 8 kB / 256.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008305/0.01132, allocations: 1.495 MB / 257.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01132, allocations: 0 / 257.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01158, allocations: 342 kB / 257.9 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01159, allocations: 8 kB / 257.9 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.01166, allocations: 8 kB / 257.9 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.0117, allocations: 27.89 kB / 258 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.0117, allocations: 8 kB / 258 MB, free: 404 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.01174, allocations: 49.09 kB / 258 MB, free: 352 kB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01174, allocations: 0 / 258 MB, free: 352 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.01193, allocations: 111.7 kB / 258.1 MB, free: 240 kB / 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 7.36e-05/0.012, allocations: 84.34 kB / 258.2 MB, free: 148 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.01214, allocations: 133.7 kB / 258.4 MB, free: 12 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.01215, allocations: 4 kB / 258.4 MB, free: 8 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.01238, allocations: 250.9 kB / 258.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.01265, allocations: 388.4 kB / 259 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.01378, allocations: 0.6785 MB / 259.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.423e-05/0.01384, allocations: 104.2 kB / 259.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.01389, allocations: 21.94 kB / 259.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.01401, allocations: 111.3 kB / 259.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01402, allocations: 4 kB / 259.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Templates: time 0.005384/0.0194, allocations: 3.908 MB / 263.8 MB, free: 10.5 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.479517380706966]