Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 202.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.318/1.318, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008283/0.0008285, allocations: 89.42 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.804e-05, allocations: 0 / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08603, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3748, allocations: 98.74 MB / 493.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.375, allocations: 82.14 kB / 494 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06988/0.4449, allocations: 27.92 MB / 0.5097 GB, free: 3.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.445, allocations: 0 / 0.5097 GB, free: 3.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.948e-05/0.445, allocations: 20 kB / 0.5097 GB, free: 3.684 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002254/0.4473, allocations: 1.113 MB / 0.5108 GB, free: 2.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4474, allocations: 12.03 kB / 0.5108 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.448, allocations: 190.4 kB / 0.511 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.4495, allocations: 0.7847 MB / 0.5117 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.4495, allocations: 32 kB / 0.5118 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4496, allocations: 63.86 kB / 0.5118 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009733/0.4506, allocations: 0.5312 MB / 0.5124 GB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4519, allocations: 0.7552 MB / 0.5131 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.452, allocations: 4 kB / 0.5131 GB, free: 92 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.452, allocations: 0 / 0.5131 GB, free: 92 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.452, allocations: 24.44 kB / 0.5131 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.4569, allocations: 3.73 MB / 0.5168 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.4575, allocations: 410.4 kB / 0.5172 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.4579, allocations: 234.2 kB / 0.5174 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.458, allocations: 4 kB / 0.5174 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.458, allocations: 46.48 kB / 0.5174 GB, free: 11.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.458, allocations: 0 / 0.5174 GB, free: 11.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001837/0.4599, allocations: 1.104 MB / 0.5185 GB, free: 10.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4599, allocations: 81.55 kB / 0.5186 GB, free: 10.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/0.4606, allocations: 0.578 MB / 0.5191 GB, free: 9.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4607, allocations: 25.7 kB / 0.5192 GB, free: 9.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.4611, allocations: 0.5641 MB / 0.5197 GB, free: 8.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4612, allocations: 161.6 kB / 0.5199 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.4612, allocations: 0 / 0.5199 GB, free: 8.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4614, allocations: 386.7 kB / 0.5202 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.4616, allocations: 137.6 kB / 0.5204 GB, free: 8.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.462, allocations: 428.3 kB / 0.5208 GB, free: 7.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.4623, allocations: 212.6 kB / 0.521 GB, free: 7.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4623, allocations: 8 kB / 0.521 GB, free: 7.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001017/0.4634, allocations: 0.6611 MB / 0.5216 GB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4634, allocations: 8 kB / 0.5216 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4634, allocations: 12 kB / 0.5217 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.4637, allocations: 101.9 kB / 0.5218 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.4642, allocations: 155.7 kB / 0.5219 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.4664, allocations: 2.87 MB / 0.5247 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.4669, allocations: 27.84 kB / 0.5247 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.467, allocations: 36 kB / 0.5248 GB, free: 3.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.4671, allocations: 140.7 kB / 0.5249 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4672, allocations: 75.06 kB / 0.525 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007516/0.468, allocations: 437.7 kB / 0.5254 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.468, allocations: 16 kB / 0.5254 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.468, allocations: 0 / 0.5254 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.468, allocations: 0 / 0.5254 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.4698, allocations: 1.263 MB / 0.5266 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4698, allocations: 4 kB / 0.5266 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.4701, allocations: 80.11 kB / 0.5267 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.4703, allocations: 77.67 kB / 0.5268 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4704, allocations: 7.953 kB / 0.5268 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.4726, allocations: 2.871 MB / 0.5296 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4726, allocations: 0 / 0.5296 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.4736, allocations: 0.8089 MB / 0.5304 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.4738, allocations: 188.1 kB / 0.5306 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.4739, allocations: 4 kB / 0.5306 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.4743, allocations: 19.98 kB / 0.5306 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.4744, allocations: 39.91 kB / 0.5306 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.4744, allocations: 15.98 kB / 0.5306 GB, free: 12.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005516/0.475, allocations: 439.2 kB / 0.5311 GB, free: 12.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.475, allocations: 0 / 0.5311 GB, free: 12.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008036/0.4758, allocations: 192 kB / 0.5312 GB, free: 12.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000422/0.4762, allocations: 270.2 kB / 0.5315 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.4773, allocations: 0.631 MB / 0.5321 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4773, allocations: 0 / 0.5321 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.4778, allocations: 419.4 kB / 0.5325 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.4786, allocations: 175.7 kB / 0.5327 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4808, allocations: 1.228 MB / 0.5339 GB, free: 9.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.4813, allocations: 1.028 MB / 0.5349 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.4817, allocations: 94.77 kB / 0.535 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4818, allocations: 51.44 kB / 0.535 GB, free: 8.328 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4819, allocations: 4 kB / 0.535 GB, free: 8.324 MB / 410.7 MB Notification: Performance of Templates: time 0.01541/0.4973, allocations: 8.945 MB / 0.5438 GB, free: 15.51 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches