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.0008872/0.0008872, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.5 MB / 230.3 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007821/0.0007822, allocations: 88.47 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.63e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08908, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.4176, allocations: 97.46 MB / 484.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4179, allocations: 79.95 kB / 485 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06822/0.4861, allocations: 25.91 MB / 0.4989 GB, free: 3.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4861, allocations: 4 kB / 0.4989 GB, free: 3.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.4862, allocations: 23.98 kB / 0.499 GB, free: 3.152 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.00173/0.4879, allocations: 1.104 MB / 0.5 GB, free: 2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.488, allocations: 12.02 kB / 0.5001 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.4886, allocations: 170.4 kB / 0.5002 GB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4899, allocations: 0.7652 MB / 0.501 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.4899, allocations: 32 kB / 0.501 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.49, allocations: 56 kB / 0.501 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/0.4911, allocations: 0.5194 MB / 0.5016 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.4924, allocations: 0.7397 MB / 0.5023 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.4924, allocations: 7.938 kB / 0.5023 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.4925, allocations: 0 / 0.5023 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.4925, allocations: 24 kB / 0.5023 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.4973, allocations: 3.758 MB / 0.506 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.4978, allocations: 312.8 kB / 0.5063 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.498, allocations: 123 kB / 0.5064 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.498, allocations: 8.281 kB / 0.5064 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.498, allocations: 38.83 kB / 0.5064 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.498, allocations: 0 / 0.5064 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001476/0.4995, allocations: 0.8775 MB / 0.5073 GB, free: 10.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4996, allocations: 85.11 kB / 0.5074 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.5003, allocations: 0.5702 MB / 0.5079 GB, free: 9.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5003, allocations: 25.7 kB / 0.508 GB, free: 9.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.5008, allocations: 0.5716 MB / 0.5085 GB, free: 8.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.5009, allocations: 134.1 kB / 0.5086 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.5009, allocations: 0 / 0.5086 GB, free: 8.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5011, allocations: 386.7 kB / 0.509 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.5013, allocations: 113.6 kB / 0.5091 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.5017, allocations: 416.3 kB / 0.5095 GB, free: 7.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.5019, allocations: 188.3 kB / 0.5097 GB, free: 7.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.502, allocations: 8 kB / 0.5097 GB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008411/0.5028, allocations: 0.5526 MB / 0.5102 GB, free: 6.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5028, allocations: 16 kB / 0.5103 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5029, allocations: 8 kB / 0.5103 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.503, allocations: 36.84 kB / 0.5103 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5035, allocations: 163.7 kB / 0.5105 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009224/0.5045, allocations: 1.244 MB / 0.5117 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.5049, allocations: 27.89 kB / 0.5117 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.505, allocations: 40.11 kB / 0.5117 GB, free: 5.305 MB / 394.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 () * 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.0001146/0.5051, allocations: 136.7 kB / 0.5119 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.5052, allocations: 75.06 kB / 0.5119 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.5057, allocations: 297.9 kB / 0.5122 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5057, allocations: 7.938 kB / 0.5122 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5057, allocations: 0 / 0.5122 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5058, allocations: 7.953 kB / 0.5122 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.5074, allocations: 1.068 MB / 0.5133 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5074, allocations: 4.062 kB / 0.5133 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.5078, allocations: 75.89 kB / 0.5134 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-05/0.5079, allocations: 20.86 kB / 0.5134 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.5079, allocations: 4 kB / 0.5134 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008991/0.5088, allocations: 1.225 MB / 0.5146 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5088, allocations: 4.031 kB / 0.5146 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.5096, allocations: 0.6432 MB / 0.5152 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5098, allocations: 164.3 kB / 0.5154 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.5099, allocations: 4 kB / 0.5154 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.5102, allocations: 31.97 kB / 0.5154 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.5103, allocations: 27.92 kB / 0.5154 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.5104, allocations: 8 kB / 0.5154 GB, free: 1.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006058/0.511, allocations: 443.1 kB / 0.5159 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.511, allocations: 0 / 0.5159 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007599/0.5118, allocations: 176 kB / 0.516 GB, free: 0.6016 MB / 394.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 () * 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.000385/0.5122, allocations: 270.1 kB / 0.5163 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000741/0.5129, allocations: 435.8 kB / 0.5167 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5129, allocations: 4.188 kB / 0.5167 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.5132, allocations: 233.6 kB / 0.5169 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.514, allocations: 167.5 kB / 0.5171 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.5162, allocations: 1.225 MB / 0.5183 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.5168, allocations: 1.012 MB / 0.5193 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.5172, allocations: 102.4 kB / 0.5194 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5173, allocations: 47.44 kB / 0.5194 GB, free: 13.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5173, allocations: 4 kB / 0.5194 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01495/0.5323, allocations: 7.885 MB / 0.5271 GB, free: 5.219 MB / 410.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