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.001363/0.001363, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009209/0.0009208, allocations: 101.4 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.16e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4255, allocations: 78.39 MB / 473.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.4257, allocations: 67.58 kB / 473.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.4402, allocations: 5.953 MB / 479.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4402, allocations: 0 / 479.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.4402, allocations: 8 kB / 479.6 MB, free: 9.809 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.0007441/0.441, allocations: 0.5927 MB / 480.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.441, allocations: 8.031 kB / 480.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.4412, allocations: 55.52 kB / 480.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4416, allocations: 285.7 kB / 480.5 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.4416, allocations: 16 kB / 480.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.4417, allocations: 28 kB / 480.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000383/0.4421, allocations: 244 kB / 480.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.4426, allocations: 363.7 kB / 481.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4426, allocations: 4 kB / 481.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.4426, allocations: 7.703 kB / 481.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4426, allocations: 12 kB / 481.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.4442, allocations: 1.23 MB / 482.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4445, allocations: 217.8 kB / 482.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.4448, allocations: 177.8 kB / 482.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4448, allocations: 4 kB / 482.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.4448, allocations: 34.44 kB / 482.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.4448, allocations: 0 / 482.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004981/0.4453, allocations: 256.6 kB / 483.1 MB, free: 6.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.4454, allocations: 239.3 kB / 483.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4456, allocations: 164.2 kB / 483.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.4456, allocations: 25.7 kB / 483.5 MB, free: 6.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.4457, allocations: 208.9 kB / 483.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.4458, allocations: 95.94 kB / 483.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.4458, allocations: 0.8438 kB / 483.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.4458, allocations: 329.8 kB / 484.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.4459, allocations: 61.44 kB / 484.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4461, allocations: 136.1 kB / 484.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.4462, allocations: 81.66 kB / 484.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4462, allocations: 0 / 484.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002983/0.4465, allocations: 238.4 kB / 484.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.4465, allocations: 9.5 kB / 484.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4466, allocations: 1.875 kB / 484.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4466, allocations: 7.953 kB / 484.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4469, allocations: 82.14 kB / 484.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4469, allocations: 3.938 kB / 484.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4471, allocations: 27.67 kB / 484.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4471, allocations: 8 kB / 484.8 MB, free: 5.172 MB / 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 7.562e-05/0.4472, allocations: 116.9 kB / 484.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.4472, allocations: 23.8 kB / 484.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.4473, allocations: 25.72 kB / 484.9 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4473, allocations: 3.953 kB / 484.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4473, allocations: 4 kB / 484.9 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4473, allocations: 3.984 kB / 484.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.4481, allocations: 0.6823 MB / 485.6 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4481, allocations: 7.984 kB / 485.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.4483, allocations: 55.95 kB / 485.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.4486, allocations: 82.47 kB / 485.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4486, allocations: 0 / 485.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.4499, allocations: 1.748 MB / 487.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4499, allocations: 0 / 487.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.4505, allocations: 477.2 kB / 488 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.4505, allocations: 107.7 kB / 488.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4506, allocations: 112 / 488.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4507, allocations: 11.92 kB / 488.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.4508, allocations: 19.97 kB / 488.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4508, allocations: 7.25 kB / 488.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.4509, allocations: 128.8 kB / 488.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4509, allocations: 0 / 488.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.4512, allocations: 99.62 kB / 488.3 MB, free: 1.93 MB / 346.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.000118/0.4513, allocations: 107.2 kB / 488.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.4516, allocations: 182 kB / 488.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4516, allocations: 3.984 kB / 488.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.4519, allocations: 247 kB / 488.9 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.4522, allocations: 28 kB / 488.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/0.4531, allocations: 0.6677 MB / 489.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4533, allocations: 0.795 MB / 490.4 MB, free: 0 / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.4534, allocations: 18.08 kB / 490.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.4534, allocations: 19.44 kB / 490.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4535, allocations: 0 / 490.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005652/0.4591, allocations: 2.577 MB / 493 MB, free: 13.45 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