Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000747/0.0007471, allocations: 95.86 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.761e-05, allocations: 4 kB / 343.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09903, allocations: 51.48 MB / 395.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.3906, allocations: 98.27 MB / 493.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.3909, allocations: 86.42 kB / 493.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06434/0.4552, allocations: 25.96 MB / 0.5073 GB, free: 6.062 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4552, allocations: 0.6562 kB / 0.5073 GB, free: 6.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.636e-05/0.4553, allocations: 20 kB / 0.5073 GB, free: 6.043 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001611/0.4569, allocations: 1.102 MB / 0.5084 GB, free: 4.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.457, allocations: 16.02 kB / 0.5084 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005155/0.4575, allocations: 175.1 kB / 0.5086 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4587, allocations: 0.7574 MB / 0.5093 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.4587, allocations: 35.98 kB / 0.5094 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4588, allocations: 60 kB / 0.5094 GB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009064/0.4598, allocations: 0.5155 MB / 0.5099 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.461, allocations: 0.7318 MB / 0.5106 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.4611, allocations: 11.83 kB / 0.5107 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.4611, allocations: 4 kB / 0.5107 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.4611, allocations: 27.94 kB / 0.5107 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.4655, allocations: 3.755 MB / 0.5144 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.4659, allocations: 313.9 kB / 0.5147 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.4661, allocations: 121.4 kB / 0.5148 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4661, allocations: 4.281 kB / 0.5148 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4662, allocations: 38.84 kB / 0.5148 GB, free: 14.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.4662, allocations: 0 / 0.5148 GB, free: 14.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.00128/0.4675, allocations: 0.8789 MB / 0.5157 GB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.4675, allocations: 81.11 kB / 0.5157 GB, free: 12.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.4682, allocations: 0.5779 MB / 0.5163 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4682, allocations: 29.64 kB / 0.5163 GB, free: 12.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.4685, allocations: 0.5716 MB / 0.5169 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.4686, allocations: 126.1 kB / 0.517 GB, free: 11.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.4687, allocations: 0 / 0.517 GB, free: 11.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4688, allocations: 382.8 kB / 0.5174 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.469, allocations: 113.6 kB / 0.5175 GB, free: 11.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.4694, allocations: 420.3 kB / 0.5179 GB, free: 10.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.4697, allocations: 179.8 kB / 0.5181 GB, free: 10.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4697, allocations: 4 kB / 0.5181 GB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000833/0.4705, allocations: 0.5664 MB / 0.5186 GB, free: 9.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4705, allocations: 8 kB / 0.5186 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.4706, allocations: 19.95 kB / 0.5186 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.4707, allocations: 32.86 kB / 0.5187 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.4712, allocations: 164.1 kB / 0.5188 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.472, allocations: 1.239 MB / 0.52 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.4725, allocations: 28.14 kB / 0.5201 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.4725, allocations: 36.05 kB / 0.5201 GB, free: 8.215 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.4726, allocations: 124.7 kB / 0.5202 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4727, allocations: 75.06 kB / 0.5203 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.4733, allocations: 325.8 kB / 0.5206 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4733, allocations: 4 kB / 0.5206 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4733, allocations: 0 / 0.5206 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4733, allocations: 7.922 kB / 0.5206 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.4747, allocations: 1.054 MB / 0.5216 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4747, allocations: 0 / 0.5216 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.4751, allocations: 79.89 kB / 0.5217 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/0.4751, allocations: 21.06 kB / 0.5217 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.4752, allocations: 12 kB / 0.5218 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006926/0.4759, allocations: 1.229 MB / 0.523 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4759, allocations: 6.5 kB / 0.523 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.4766, allocations: 0.6266 MB / 0.5236 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.4767, allocations: 176.2 kB / 0.5237 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4769, allocations: 7.953 kB / 0.5237 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4772, allocations: 19.98 kB / 0.5238 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.4773, allocations: 27.95 kB / 0.5238 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4773, allocations: 12 kB / 0.5238 GB, free: 4.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004777/0.4778, allocations: 439.1 kB / 0.5242 GB, free: 3.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.4778, allocations: 0 / 0.5242 GB, free: 3.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.4784, allocations: 175.9 kB / 0.5244 GB, free: 3.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.4788, allocations: 277.7 kB / 0.5247 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006447/0.4794, allocations: 442.5 kB / 0.5251 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4795, allocations: 2.125 kB / 0.5251 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.4797, allocations: 234.1 kB / 0.5253 GB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.4805, allocations: 170.8 kB / 0.5255 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4824, allocations: 1.226 MB / 0.5267 GB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.483, allocations: 1.015 MB / 0.5277 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003694/0.4833, allocations: 94.48 kB / 0.5277 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4834, allocations: 51.44 kB / 0.5278 GB, free: 15.94 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4834, allocations: 0 / 0.5278 GB, free: 15.94 MB / 410.7 MB Notification: Performance of Templates: time 0.01396/0.4974, allocations: 7.909 MB / 0.5355 GB, free: 8.156 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches