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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008676/0.0008676, allocations: 55.45 kB / 302 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07276/0.07364, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003202/0.07687, allocations: 2.828 MB / 354.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.07776, allocations: 0.7088 MB / 355 MB, free: 132 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.07786, allocations: 8 kB / 355 MB, free: 124 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.07798, allocations: 71.34 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.07817, allocations: 95.12 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.07845, allocations: 123.7 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.0788, allocations: 442.8 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.07908, allocations: 220.9 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.07925, allocations: 179.4 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.07946, allocations: 203.2 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.07951, allocations: 48 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.07958, allocations: 44 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.07965, allocations: 99.67 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.07981, allocations: 223 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.08018, allocations: 0.4983 MB / 357.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.08019, allocations: 0 / 357.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0802, allocations: 3.938 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08021, allocations: 0 / 357.2 MB, free: 13.89 MB / 302.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.000876/0.08109, allocations: 0.6864 MB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.08113, allocations: 11.89 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.08121, allocations: 52.41 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.08146, allocations: 277.5 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.08149, allocations: 29.38 kB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.08156, allocations: 44.38 kB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.08214, allocations: 463.5 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.08217, allocations: 3.906 kB / 358.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.0822, allocations: 16 kB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.08222, allocations: 12 kB / 358.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.08266, allocations: 279.9 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.08422, allocations: 1.303 MB / 360.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.08461, allocations: 242 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.08493, allocations: 196.8 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.08496, allocations: 4 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.08499, allocations: 38.56 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.08499, allocations: 0 / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001176/0.08617, allocations: 0.5423 MB / 361.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.08627, allocations: 243.3 kB / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.08643, allocations: 207 kB / 361.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.08647, allocations: 37.7 kB / 361.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.08658, allocations: 200.2 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.08664, allocations: 102.4 kB / 362.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.08673, allocations: 57.7 kB / 362.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.08684, allocations: 338.8 kB / 362.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.08698, allocations: 71.97 kB / 362.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.08717, allocations: 168.7 kB / 362.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.08746, allocations: 191.5 kB / 363 MB, free: 7.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.08747, allocations: 0 / 363 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003876/0.08786, allocations: 281 kB / 363.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.08788, allocations: 7.984 kB / 363.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.0879, allocations: 4 kB / 363.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.08791, allocations: 0 / 363.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.08821, allocations: 75.91 kB / 363.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.08822, allocations: 3.984 kB / 363.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.08837, allocations: 35.69 kB / 363.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.0884, allocations: 8 kB / 363.4 MB, free: 7.344 MB / 302.1 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.0001269/0.08853, allocations: 165.7 kB / 363.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.08858, allocations: 31.59 kB / 363.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.08865, allocations: 34.64 kB / 363.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.08866, allocations: 4 kB / 363.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.08867, allocations: 0 / 363.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.08868, allocations: 0 / 363.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000888/0.08957, allocations: 0.7679 MB / 364.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.08959, allocations: 4.031 kB / 364.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.08982, allocations: 51.97 kB / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.09009, allocations: 88.73 kB / 364.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.09012, allocations: 8 kB / 364.5 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.09172, allocations: 1.987 MB / 366.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.09174, allocations: 4.062 kB / 366.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.09238, allocations: 0.4973 MB / 367 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.09244, allocations: 104.8 kB / 367.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.09248, allocations: 4.062 kB / 367.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.09263, allocations: 15.94 kB / 367.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.09269, allocations: 27.95 kB / 367.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.09271, allocations: 8 kB / 367.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.09282, allocations: 152.5 kB / 367.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09282, allocations: 0 / 367.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.09315, allocations: 103.7 kB / 367.4 MB, free: 3.043 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.0001042/0.09326, allocations: 103.2 kB / 367.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.09363, allocations: 216.9 kB / 367.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09364, allocations: 0 / 367.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.09402, allocations: 278.5 kB / 368 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.09438, allocations: 31.98 kB / 368.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.09544, allocations: 0.8381 MB / 368.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.09575, allocations: 0.7868 MB / 369.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.09583, allocations: 21.94 kB / 369.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.09588, allocations: 27.44 kB / 369.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09589, allocations: 0 / 369.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of Templates: time 0.4841/0.58, allocations: 3.078 MB / 372.8 MB, free: 24.61 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches