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.0009313/0.0009314, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.275/1.275, allocations: 221.3 MB / 235.5 MB, free: 2.879 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.0008651/0.0008652, allocations: 88.05 kB / 286.5 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.486e-05, allocations: 4 kB / 343.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09666, allocations: 50.42 MB / 394.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4163, allocations: 98.13 MB / 492.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4165, allocations: 83.78 kB / 492.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06649/0.483, allocations: 26.29 MB / 0.5066 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4831, allocations: 0 / 0.5066 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.841e-05/0.4831, allocations: 20 kB / 0.5066 GB, free: 10.82 MB / 394.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.001603/0.4847, allocations: 1.104 MB / 0.5077 GB, free: 9.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4848, allocations: 8.031 kB / 0.5077 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.4853, allocations: 178.4 kB / 0.5079 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.4866, allocations: 0.7613 MB / 0.5086 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.4867, allocations: 70 kB / 0.5087 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4868, allocations: 96 kB / 0.5088 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.4883, allocations: 0.8802 MB / 0.5096 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.4883, allocations: 7.953 kB / 0.5096 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.4884, allocations: 44 kB / 0.5097 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.4884, allocations: 27.94 kB / 0.5097 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.4894, allocations: 0.5663 MB / 0.5103 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004944/0.4944, allocations: 3.948 MB / 0.5141 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.4948, allocations: 327 kB / 0.5144 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.4951, allocations: 133.4 kB / 0.5145 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.4951, allocations: 4.281 kB / 0.5145 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4951, allocations: 38.78 kB / 0.5146 GB, free: 2.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.4951, allocations: 4 kB / 0.5146 GB, free: 2.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001437/0.4966, allocations: 0.9497 MB / 0.5155 GB, free: 1.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4966, allocations: 81.11 kB / 0.5156 GB, free: 1.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.4975, allocations: 0.6802 MB / 0.5163 GB, free: 460 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.4976, allocations: 37.64 kB / 0.5163 GB, free: 416 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.498, allocations: 0.5642 MB / 0.5168 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.4981, allocations: 138 kB / 0.517 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.4981, allocations: 16 kB / 0.517 GB, free: 15.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4982, allocations: 333.7 kB / 0.5173 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.4985, allocations: 137.4 kB / 0.5174 GB, free: 15.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4989, allocations: 433.8 kB / 0.5179 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.4992, allocations: 203.6 kB / 0.518 GB, free: 14.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4992, allocations: 4 kB / 0.5181 GB, free: 14.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001016/0.5002, allocations: 0.6464 MB / 0.5187 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5003, allocations: 9.406 kB / 0.5187 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5003, allocations: 12 kB / 0.5187 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.5004, allocations: 36.84 kB / 0.5187 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.501, allocations: 164.1 kB / 0.5189 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.502, allocations: 1.295 MB / 0.5202 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.5025, allocations: 44.05 kB / 0.5202 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.5025, allocations: 32 kB / 0.5202 GB, free: 12.07 MB / 410.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.0001299/0.5027, allocations: 148.7 kB / 0.5204 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.5028, allocations: 79.06 kB / 0.5205 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.5034, allocations: 350.4 kB / 0.5208 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5034, allocations: 4 kB / 0.5208 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5034, allocations: 0 / 0.5208 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5034, allocations: 0 / 0.5208 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.5051, allocations: 1.22 MB / 0.522 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5051, allocations: 4 kB / 0.522 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.5055, allocations: 75.89 kB / 0.5221 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.5056, allocations: 21.08 kB / 0.5221 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.5056, allocations: 16 kB / 0.5221 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.5066, allocations: 1.268 MB / 0.5233 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5067, allocations: 12.05 kB / 0.5233 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.5075, allocations: 0.6815 MB / 0.524 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.5078, allocations: 180.1 kB / 0.5242 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.5079, allocations: 19.98 kB / 0.5242 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.5082, allocations: 23.98 kB / 0.5242 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.5083, allocations: 27.91 kB / 0.5242 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.5083, allocations: 8 kB / 0.5243 GB, free: 7.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007005/0.5091, allocations: 0.5265 MB / 0.5248 GB, free: 7.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5091, allocations: 0 / 0.5248 GB, free: 7.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008125/0.5099, allocations: 216 kB / 0.525 GB, free: 6.867 MB / 410.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.0004396/0.5103, allocations: 302.9 kB / 0.5253 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.5111, allocations: 479.9 kB / 0.5257 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5112, allocations: 0.6875 kB / 0.5257 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5115, allocations: 258.9 kB / 0.526 GB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.5124, allocations: 207.6 kB / 0.5262 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.5145, allocations: 1.252 MB / 0.5274 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.5151, allocations: 1.016 MB / 0.5284 GB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.5155, allocations: 98.97 kB / 0.5285 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5156, allocations: 59.42 kB / 0.5285 GB, free: 3.121 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5156, allocations: 0 / 0.5285 GB, free: 3.121 MB / 410.7 MB Notification: Performance of Templates: time 0.01905/0.5347, allocations: 11.15 MB / 0.5394 GB, free: 8.062 MB / 426.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