Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008784/0.0008782, allocations: 177.2 kB / 17.4 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 93.52 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003377, allocations: 15.94 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.209, allocations: 50.39 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3121, allocations: 98.76 MB / 0.4898 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.3123, allocations: 79.95 kB / 0.4898 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2356/0.5479, allocations: 28.07 MB / 0.5172 GB, free: 93.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.548, allocations: 7.188 kB / 0.5173 GB, free: 93.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.873e-05/0.5481, allocations: 17.88 kB / 0.5173 GB, free: 93.35 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.002179/0.5502, allocations: 1.24 MB / 0.5185 GB, free: 92.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5503, allocations: 10.28 kB / 0.5185 GB, free: 92.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.551, allocations: 188.9 kB / 0.5187 GB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5523, allocations: 0.8192 MB / 0.5195 GB, free: 91.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.5524, allocations: 75.22 kB / 0.5195 GB, free: 91.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.5525, allocations: 107.3 kB / 0.5196 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5539, allocations: 0.9303 MB / 0.5206 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.5539, allocations: 10.88 kB / 0.5206 GB, free: 91.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.554, allocations: 37.84 kB / 0.5206 GB, free: 91.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.554, allocations: 21.81 kB / 0.5206 GB, free: 91.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.5552, allocations: 0.6452 MB / 0.5213 GB, free: 91.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.5597, allocations: 3.923 MB / 0.5251 GB, free: 88.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.5603, allocations: 457.5 kB / 0.5255 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.5608, allocations: 272 kB / 0.5258 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.5608, allocations: 8.797 kB / 0.5258 GB, free: 87.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5609, allocations: 34.56 kB / 0.5258 GB, free: 87.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.585e-06/0.5609, allocations: 0 / 0.5258 GB, free: 87.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002674/0.5635, allocations: 1.596 MB / 0.5274 GB, free: 86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5636, allocations: 85.53 kB / 0.5275 GB, free: 85.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.5645, allocations: 0.7823 MB / 0.5282 GB, free: 85.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.5645, allocations: 29.7 kB / 0.5283 GB, free: 85.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.5648, allocations: 0.5582 MB / 0.5288 GB, free: 84.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.5648, allocations: 164.5 kB / 0.529 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.5649, allocations: 16 kB / 0.529 GB, free: 84.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.5649, allocations: 337.9 kB / 0.5293 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.5652, allocations: 177.9 kB / 0.5295 GB, free: 83.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.5656, allocations: 476 kB / 0.5299 GB, free: 83.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.5663, allocations: 0.6829 MB / 0.5306 GB, free: 82.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5664, allocations: 0 / 0.5306 GB, free: 82.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001115/0.5675, allocations: 0.804 MB / 0.5314 GB, free: 81.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5675, allocations: 16.97 kB / 0.5314 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5675, allocations: 8 kB / 0.5314 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.5678, allocations: 93.91 kB / 0.5315 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.5682, allocations: 163.8 kB / 0.5316 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.57, allocations: 3.002 MB / 0.5346 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.5705, allocations: 39.89 kB / 0.5346 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.5705, allocations: 32 kB / 0.5346 GB, free: 77.97 MB / 378.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 () * Number of clocked 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.0003451/0.5709, allocations: 265.5 kB / 0.5349 GB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.571, allocations: 86.97 kB / 0.535 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/0.5718, allocations: 0.5183 MB / 0.5355 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5718, allocations: 4 kB / 0.5355 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5718, allocations: 3.984 kB / 0.5355 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5718, allocations: 0 / 0.5355 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.5736, allocations: 1.476 MB / 0.5369 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5736, allocations: 0 / 0.5369 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.5739, allocations: 76.12 kB / 0.537 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.5742, allocations: 85.66 kB / 0.5371 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.5742, allocations: 8 kB / 0.5371 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5759, allocations: 2.987 MB / 0.54 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5759, allocations: 4.031 kB / 0.54 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.577, allocations: 0.8321 MB / 0.5408 GB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.5773, allocations: 196 kB / 0.541 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5774, allocations: 8 kB / 0.541 GB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.5778, allocations: 31.98 kB / 0.541 GB, free: 70.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.5779, allocations: 39.89 kB / 0.5411 GB, free: 70.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.5779, allocations: 12 kB / 0.5411 GB, free: 70.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006076/0.5785, allocations: 0.5342 MB / 0.5416 GB, free: 70.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5785, allocations: 0 / 0.5416 GB, free: 70.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009045/0.5794, allocations: 240 kB / 0.5418 GB, free: 70.16 MB / 378.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 () * Number of clocked 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.0004093/0.5799, allocations: 309 kB / 0.5421 GB, free: 69.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.5809, allocations: 0.7232 MB / 0.5429 GB, free: 69.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.581, allocations: 0 / 0.5429 GB, free: 69.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.5815, allocations: 465.7 kB / 0.5433 GB, free: 68.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5827, allocations: 218.9 kB / 0.5435 GB, free: 68.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.5857, allocations: 2.118 MB / 0.5456 GB, free: 66.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.5863, allocations: 1.009 MB / 0.5466 GB, free: 65.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.5868, allocations: 111.2 kB / 0.5467 GB, free: 65.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5869, allocations: 59.42 kB / 0.5467 GB, free: 65.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5869, allocations: 0 / 0.5467 GB, free: 65.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01995/0.6069, allocations: 12.11 MB / 0.5585 GB, free: 53.1 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches