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.001339/0.001338, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.327/1.327, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.000842/0.000842, allocations: 101.9 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 15.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2144, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3262, allocations: 98.2 MB / 499.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.3265, allocations: 83.95 kB / 499.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2722/0.5988, allocations: 26.27 MB / 0.5137 GB, free: 93.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5988, allocations: 2.531 kB / 0.5137 GB, free: 93.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.5989, allocations: 25.16 kB / 0.5137 GB, free: 93.94 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.00194/0.6008, allocations: 1.236 MB / 0.515 GB, free: 93.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6009, allocations: 6.719 kB / 0.515 GB, free: 93.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.6014, allocations: 173.5 kB / 0.5151 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6026, allocations: 0.7789 MB / 0.5159 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.6027, allocations: 72.84 kB / 0.516 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6028, allocations: 99.92 kB / 0.5161 GB, free: 92.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.6042, allocations: 0.9141 MB / 0.5169 GB, free: 92.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.6042, allocations: 7.25 kB / 0.517 GB, free: 92.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.6043, allocations: 35.25 kB / 0.517 GB, free: 92.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6043, allocations: 23.81 kB / 0.517 GB, free: 92.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6054, allocations: 0.6322 MB / 0.5176 GB, free: 91.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.6094, allocations: 3.957 MB / 0.5215 GB, free: 89.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.6098, allocations: 351 kB / 0.5218 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.6099, allocations: 4.125 kB / 0.5218 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.6099, allocations: 42.75 kB / 0.5219 GB, free: 88.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.6099, allocations: 0 / 0.5219 GB, free: 88.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001919/0.6118, allocations: 1.24 MB / 0.5231 GB, free: 88.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6119, allocations: 80.92 kB / 0.5232 GB, free: 87.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.6126, allocations: 0.691 MB / 0.5238 GB, free: 87.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6126, allocations: 29.7 kB / 0.5239 GB, free: 87.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.6129, allocations: 0.5676 MB / 0.5244 GB, free: 87.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.613, allocations: 141.7 kB / 0.5246 GB, free: 87.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.613, allocations: 11.25 kB / 0.5246 GB, free: 87.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.6131, allocations: 338 kB / 0.5249 GB, free: 86.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.6134, allocations: 150.4 kB / 0.525 GB, free: 86.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.6137, allocations: 465.8 kB / 0.5255 GB, free: 86.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.6141, allocations: 227.2 kB / 0.5257 GB, free: 86.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6141, allocations: 4 kB / 0.5257 GB, free: 86.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009062/0.615, allocations: 0.7105 MB / 0.5264 GB, free: 85.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.615, allocations: 11.12 kB / 0.5264 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6151, allocations: 12 kB / 0.5264 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.6152, allocations: 32.23 kB / 0.5264 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.6157, allocations: 170.8 kB / 0.5266 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006652/0.6163, allocations: 1.294 MB / 0.5279 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.6168, allocations: 35.7 kB / 0.5279 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.6169, allocations: 36 kB / 0.5279 GB, free: 83.71 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.0003361/0.6172, allocations: 261.5 kB / 0.5282 GB, free: 83.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.6173, allocations: 82.97 kB / 0.5283 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.618, allocations: 394.1 kB / 0.5286 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.618, allocations: 4 kB / 0.5286 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.618, allocations: 4 kB / 0.5286 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.618, allocations: 3.328 kB / 0.5286 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6195, allocations: 1.27 MB / 0.5299 GB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6195, allocations: 4 kB / 0.5299 GB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.6198, allocations: 84.11 kB / 0.53 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.29e-05/0.6199, allocations: 20.8 kB / 0.53 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.6199, allocations: 15.98 kB / 0.53 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005523/0.6205, allocations: 1.275 MB / 0.5313 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6205, allocations: 4 kB / 0.5313 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.6213, allocations: 0.7556 MB / 0.532 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.6215, allocations: 180.2 kB / 0.5322 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.6216, allocations: 16 kB / 0.5322 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.6219, allocations: 27.98 kB / 0.5322 GB, free: 79.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.622, allocations: 35.86 kB / 0.5322 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.622, allocations: 12 kB / 0.5323 GB, free: 79.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005102/0.6226, allocations: 0.5303 MB / 0.5328 GB, free: 78.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.6226, allocations: 0 / 0.5328 GB, free: 78.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007626/0.6233, allocations: 223.9 kB / 0.533 GB, free: 78.34 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.0003714/0.6237, allocations: 305.4 kB / 0.5333 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.6245, allocations: 0.5162 MB / 0.5338 GB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6245, allocations: 192 / 0.5338 GB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.6249, allocations: 271.3 kB / 0.534 GB, free: 77.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.6256, allocations: 201.8 kB / 0.5342 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6279, allocations: 2.085 MB / 0.5363 GB, free: 74.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6282, allocations: 1.016 MB / 0.5373 GB, free: 73.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003556/0.6286, allocations: 107 kB / 0.5374 GB, free: 73.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.6287, allocations: 59.38 kB / 0.5374 GB, free: 73.72 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6287, allocations: 0 / 0.5374 GB, free: 73.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01703/0.6457, allocations: 10.77 MB / 0.5479 GB, free: 63.07 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/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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches