Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.338/1.338, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0007769/0.000777, allocations: 91.44 kB / 292.6 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 11.94 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 50.4 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3396, allocations: 98.29 MB / 0.4893 GB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.3399, allocations: 83.95 kB / 0.4894 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2096/0.5496, allocations: 26.16 MB / 0.5149 GB, free: 93.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5496, allocations: 0 / 0.5149 GB, free: 93.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.845e-05/0.5497, allocations: 25.09 kB / 0.515 GB, free: 93.95 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.001705/0.5514, allocations: 1.221 MB / 0.5161 GB, free: 93.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5514, allocations: 9.094 kB / 0.5162 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.5519, allocations: 173.7 kB / 0.5163 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.553, allocations: 0.8006 MB / 0.5171 GB, free: 92.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.553, allocations: 72.34 kB / 0.5172 GB, free: 92.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5532, allocations: 99 kB / 0.5173 GB, free: 92.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.5544, allocations: 0.922 MB / 0.5182 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.5545, allocations: 3.938 kB / 0.5182 GB, free: 92.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.5546, allocations: 42.28 kB / 0.5182 GB, free: 92.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5546, allocations: 28.39 kB / 0.5182 GB, free: 92.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5556, allocations: 0.6327 MB / 0.5189 GB, free: 91.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.5593, allocations: 3.953 MB / 0.5227 GB, free: 89.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.5598, allocations: 356.9 kB / 0.5231 GB, free: 88.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.56, allocations: 166.4 kB / 0.5232 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.5601, allocations: 2.344 kB / 0.5232 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.5601, allocations: 38.66 kB / 0.5233 GB, free: 88.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.5601, allocations: 0 / 0.5233 GB, free: 88.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001809/0.5619, allocations: 1.237 MB / 0.5245 GB, free: 87.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.562, allocations: 80.92 kB / 0.5245 GB, free: 87.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.5627, allocations: 0.7831 MB / 0.5253 GB, free: 87.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5627, allocations: 36.92 kB / 0.5253 GB, free: 87.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.563, allocations: 0.5659 MB / 0.5259 GB, free: 87.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.563, allocations: 133.8 kB / 0.526 GB, free: 86.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5631, allocations: 16 kB / 0.526 GB, free: 86.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.5631, allocations: 329.3 kB / 0.5264 GB, free: 86.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.5634, allocations: 152.7 kB / 0.5265 GB, free: 86.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.5637, allocations: 463.1 kB / 0.5269 GB, free: 85.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.5644, allocations: 0.6545 MB / 0.5276 GB, free: 85.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5644, allocations: 8 kB / 0.5276 GB, free: 85.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009639/0.5654, allocations: 0.7016 MB / 0.5283 GB, free: 84.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5654, allocations: 15.94 kB / 0.5283 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5654, allocations: 8 kB / 0.5283 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.5656, allocations: 41.11 kB / 0.5283 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.566, allocations: 162.1 kB / 0.5285 GB, free: 84.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006798/0.5667, allocations: 1.283 MB / 0.5297 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.5672, allocations: 43.89 kB / 0.5298 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.5673, allocations: 36 kB / 0.5298 GB, free: 82.8 MB / 378.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 () * Number of clocked 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.0003621/0.5676, allocations: 257.7 kB / 0.5301 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.5677, allocations: 94.89 kB / 0.5302 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.5683, allocations: 391.6 kB / 0.5305 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5684, allocations: 4 kB / 0.5305 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5684, allocations: 3.984 kB / 0.5305 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5684, allocations: 0 / 0.5305 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5699, allocations: 1.271 MB / 0.5318 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5699, allocations: 0 / 0.5318 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.5702, allocations: 75.91 kB / 0.5318 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/0.5703, allocations: 20.84 kB / 0.5319 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.5703, allocations: 12 kB / 0.5319 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/0.5709, allocations: 1.284 MB / 0.5331 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5709, allocations: 0 / 0.5331 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.5716, allocations: 0.6658 MB / 0.5338 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.5718, allocations: 184.1 kB / 0.534 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5719, allocations: 16 kB / 0.534 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.5723, allocations: 23.98 kB / 0.534 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.5723, allocations: 39.77 kB / 0.534 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.5724, allocations: 12 kB / 0.534 GB, free: 78.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005333/0.5729, allocations: 0.5264 MB / 0.5346 GB, free: 77.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5729, allocations: 0 / 0.5346 GB, free: 77.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007305/0.5736, allocations: 227.9 kB / 0.5348 GB, free: 77.43 MB / 378.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 () * Number of clocked 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.0003437/0.574, allocations: 297.8 kB / 0.5351 GB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007831/0.5748, allocations: 0.5148 MB / 0.5356 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5748, allocations: 0 / 0.5356 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.5751, allocations: 277.3 kB / 0.5358 GB, free: 76.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5763, allocations: 205.6 kB / 0.536 GB, free: 76.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5785, allocations: 2.096 MB / 0.5381 GB, free: 74.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5789, allocations: 0.9924 MB / 0.539 GB, free: 72.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000405/0.5793, allocations: 103 kB / 0.5391 GB, free: 72.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.5794, allocations: 59.44 kB / 0.5392 GB, free: 72.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5794, allocations: 0 / 0.5392 GB, free: 72.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01653/0.5959, allocations: 10.98 MB / 0.5499 GB, free: 61.98 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches