Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008658/0.0008658, allocations: 87.58 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.959e-05, allocations: 4.219 kB / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.0932, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.429, allocations: 79.06 MB / 481.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4293, allocations: 75.14 kB / 481.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.4436, allocations: 5.996 MB / 487.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4436, allocations: 0 / 487.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4436, allocations: 8 kB / 487.2 MB, free: 5.305 MB / 346.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.0006963/0.4443, allocations: 0.5951 MB / 487.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4444, allocations: 8.031 kB / 487.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.4446, allocations: 60.52 kB / 487.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.4448, allocations: 285.2 kB / 488.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4449, allocations: 35.31 kB / 488.1 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.4449, allocations: 42.62 kB / 488.2 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.4455, allocations: 427.4 kB / 488.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4455, allocations: 4 kB / 488.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4456, allocations: 21.75 kB / 488.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4456, allocations: 8 kB / 488.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.446, allocations: 268.2 kB / 488.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.4475, allocations: 1.331 MB / 490.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.4479, allocations: 228.7 kB / 490.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.4482, allocations: 190.3 kB / 490.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.4483, allocations: 0 / 490.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.4483, allocations: 38.19 kB / 490.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.4483, allocations: 0 / 490.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005222/0.4488, allocations: 283 kB / 490.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4489, allocations: 239.3 kB / 491.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.449, allocations: 188.2 kB / 491.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4491, allocations: 29.7 kB / 491.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.4491, allocations: 201 kB / 491.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.4492, allocations: 98.55 kB / 491.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.4492, allocations: 4 kB / 491.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.4493, allocations: 338.8 kB / 492 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4494, allocations: 64 kB / 492.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4495, allocations: 148.5 kB / 492.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4497, allocations: 91.81 kB / 492.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4497, allocations: 1.594 kB / 492.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003233/0.45, allocations: 255 kB / 492.6 MB, free: 368 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.45, allocations: 7.953 kB / 492.6 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.45, allocations: 4 kB / 492.6 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4501, allocations: 7.922 kB / 492.6 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.4504, allocations: 79.91 kB / 492.7 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4504, allocations: 10.09 kB / 492.7 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.4506, allocations: 27.69 kB / 492.7 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4506, allocations: 12 kB / 492.7 MB, free: 220 kB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.4507, allocations: 128.9 kB / 492.8 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.4507, allocations: 23.72 kB / 492.8 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.4508, allocations: 38.72 kB / 492.9 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4508, allocations: 4 kB / 492.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4508, allocations: 0.875 kB / 492.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4508, allocations: 0 / 492.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009876/0.4518, allocations: 0.7721 MB / 493.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4518, allocations: 4.031 kB / 493.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.4521, allocations: 50.31 kB / 493.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.4524, allocations: 88.75 kB / 493.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4524, allocations: 7 kB / 493.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.4543, allocations: 1.82 MB / 495.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4543, allocations: 0 / 495.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.455, allocations: 0.4931 MB / 496.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.4551, allocations: 104.8 kB / 496.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4551, allocations: 8 kB / 496.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4553, allocations: 11.98 kB / 496.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.4554, allocations: 27.92 kB / 496.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.4554, allocations: 8 kB / 496.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4555, allocations: 156.4 kB / 496.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4555, allocations: 0 / 496.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.4559, allocations: 111.6 kB / 496.5 MB, free: 12.13 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.456, allocations: 111.2 kB / 496.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4564, allocations: 188.4 kB / 496.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4564, allocations: 4.125 kB / 496.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.4567, allocations: 265.9 kB / 497.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.457, allocations: 36.47 kB / 497.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009628/0.458, allocations: 0.6828 MB / 497.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4583, allocations: 0.7911 MB / 498.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.4584, allocations: 26.06 kB / 498.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.4585, allocations: 23.44 kB / 498.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4585, allocations: 0 / 498.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of Templates: time 0.005883/0.4644, allocations: 2.781 MB / 0.4897 GB, free: 7.258 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches