Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 198.1 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.339/1.339, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001004, allocations: 96.23 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.268e-05/1.275e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09188, allocations: 51.47 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2848/0.3767, allocations: 94.51 MB / 489.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.3769, allocations: 82.2 kB / 489.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0566/0.4335, allocations: 22.82 MB / 0.5006 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4335, allocations: 0 / 0.5006 GB, free: 12.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.873e-05/0.4336, allocations: 19.94 kB / 0.5006 GB, free: 12.3 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001338/0.4349, allocations: 0.9663 MB / 0.5015 GB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.4349, allocations: 11.97 kB / 0.5015 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.4354, allocations: 142.7 kB / 0.5017 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4365, allocations: 0.6882 MB / 0.5024 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4365, allocations: 28 kB / 0.5024 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.4366, allocations: 47.25 kB / 0.5024 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00071/0.4373, allocations: 427.6 kB / 0.5028 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4383, allocations: 0.6258 MB / 0.5034 GB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.4383, allocations: 15.83 kB / 0.5035 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.4384, allocations: 0 / 0.5035 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.4384, allocations: 20 kB / 0.5035 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.4421, allocations: 3.299 MB / 0.5067 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.4425, allocations: 192.6 kB / 0.5069 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4426, allocations: 89.28 kB / 0.507 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4426, allocations: 3.953 kB / 0.507 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.4427, allocations: 42.5 kB / 0.507 GB, free: 6.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.4427, allocations: 7.938 kB / 0.507 GB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001143/0.4438, allocations: 0.7488 MB / 0.5078 GB, free: 5.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.4439, allocations: 85.34 kB / 0.5078 GB, free: 5.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.4445, allocations: 0.5152 MB / 0.5083 GB, free: 4.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4445, allocations: 25.7 kB / 0.5084 GB, free: 4.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.4449, allocations: 0.5017 MB / 0.5089 GB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.4449, allocations: 98.66 kB / 0.5089 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.445, allocations: 7.938 kB / 0.509 GB, free: 4.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4451, allocations: 374.8 kB / 0.5093 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4453, allocations: 89.56 kB / 0.5094 GB, free: 3.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.4456, allocations: 389.9 kB / 0.5098 GB, free: 3.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.4459, allocations: 159.8 kB / 0.5099 GB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4459, allocations: 7.953 kB / 0.5099 GB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000759/0.4466, allocations: 0.4995 MB / 0.5104 GB, free: 2.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4467, allocations: 8 kB / 0.5104 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4467, allocations: 12 kB / 0.5104 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.4468, allocations: 33.53 kB / 0.5105 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.4473, allocations: 151.7 kB / 0.5106 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008481/0.4481, allocations: 1.237 MB / 0.5118 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.4485, allocations: 23.89 kB / 0.5118 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.4486, allocations: 32 kB / 0.5119 GB, free: 0.7617 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001211/0.4487, allocations: 128.9 kB / 0.512 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.4488, allocations: 67.34 kB / 0.5121 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.4492, allocations: 265.1 kB / 0.5123 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4492, allocations: 0 / 0.5123 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4493, allocations: 4 kB / 0.5123 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4493, allocations: 0 / 0.5123 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.4504, allocations: 0.9212 MB / 0.5132 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4505, allocations: 7.953 kB / 0.5132 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4507, allocations: 63.91 kB / 0.5133 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-05/0.4508, allocations: 25.06 kB / 0.5133 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4508, allocations: 4 kB / 0.5133 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.4516, allocations: 1.235 MB / 0.5145 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4517, allocations: 4.031 kB / 0.5145 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.4522, allocations: 0.5484 MB / 0.5151 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4524, allocations: 168.2 kB / 0.5152 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.4525, allocations: 4 kB / 0.5152 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.4528, allocations: 19.98 kB / 0.5152 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.4529, allocations: 27.92 kB / 0.5153 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4529, allocations: 12 kB / 0.5153 GB, free: 12.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004338/0.4534, allocations: 395.2 kB / 0.5157 GB, free: 12.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4534, allocations: 0 / 0.5157 GB, free: 12.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005845/0.454, allocations: 159.9 kB / 0.5158 GB, free: 12.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0003182/0.4543, allocations: 241.5 kB / 0.516 GB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.4549, allocations: 386 kB / 0.5164 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4549, allocations: 4 kB / 0.5164 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.4551, allocations: 203.6 kB / 0.5166 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.4559, allocations: 153.5 kB / 0.5168 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4574, allocations: 0.998 MB / 0.5177 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.458, allocations: 0.9604 MB / 0.5187 GB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.4583, allocations: 81.56 kB / 0.5187 GB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.4584, allocations: 43.44 kB / 0.5188 GB, free: 9.285 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4584, allocations: 0 / 0.5188 GB, free: 9.285 MB / 394.7 MB Notification: Performance of Templates: time 0.01273/0.4711, allocations: 7.018 MB / 0.5256 GB, free: 2.379 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches