Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007379/0.0007379, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001768, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007143/0.0007143, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001651, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9725/0.9725, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1579/1.13, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.341e-05, allocations: 6.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006521/0.006544, allocations: 7.801 MB / 229.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.009931, allocations: 2.677 MB / 232.3 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.01055, allocations: 27.88 kB / 232.3 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.01155, allocations: 0.5401 MB / 232.9 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007451/0.0123, allocations: 0.4962 MB / 233.4 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.01263, allocations: 247.6 kB / 233.6 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.01373, allocations: 1.486 MB / 235.1 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.01418, allocations: 395.2 kB / 235.5 MB, free: 2.414 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009556/0.01513, allocations: 0.9577 MB / 236.5 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.01557, allocations: 462.6 kB / 236.9 MB, free: 1 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.01568, allocations: 136 kB / 237 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.01592, allocations: 179.9 kB / 237.2 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.01604, allocations: 215.2 kB / 237.4 MB, free: 492 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.01634, allocations: 383.3 kB / 237.8 MB, free: 108 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.01713, allocations: 0.8484 MB / 238.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.01714, allocations: 0 / 238.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01714, allocations: 0 / 238.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.01717, allocations: 0 / 238.6 MB, free: 15.25 MB / 250.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.001459/0.01863, allocations: 1.589 MB / 240.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.01867, allocations: 16.03 kB / 240.2 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.01905, allocations: 293.8 kB / 240.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.01971, allocations: 0.5177 MB / 241.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.01975, allocations: 70 kB / 241.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.01984, allocations: 99.95 kB / 241.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.02047, allocations: 0.7363 MB / 242 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.02049, allocations: 3.938 kB / 242 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.02053, allocations: 36 kB / 242 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.02054, allocations: 24 kB / 242 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.02083, allocations: 241.8 kB / 242.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.02331, allocations: 2.976 MB / 245.2 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.02351, allocations: 168.7 kB / 245.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.02357, allocations: 60.75 kB / 245.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.0236, allocations: 7.984 kB / 245.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.02362, allocations: 43.03 kB / 245.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.382e-06/0.02362, allocations: 0 / 245.5 MB, free: 8.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008198/0.02444, allocations: 0.6206 MB / 246.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.02446, allocations: 55.41 kB / 246.2 MB, free: 7.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.0249, allocations: 0.6457 MB / 246.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.02492, allocations: 33.7 kB / 246.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.02513, allocations: 0.5119 MB / 247.4 MB, free: 6.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.02519, allocations: 130.9 kB / 247.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02529, allocations: 134.5 kB / 247.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.02541, allocations: 394.5 kB / 248 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.02546, allocations: 53.97 kB / 248.1 MB, free: 5.391 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.02566, allocations: 389.9 kB / 248.4 MB, free: 4.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.02597, allocations: 0.4905 MB / 248.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02597, allocations: 0 / 248.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000385/0.02636, allocations: 446.2 kB / 249.4 MB, free: 3.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.02637, allocations: 8 kB / 249.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.02638, allocations: 12.06 kB / 249.4 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.924e-05/0.02647, allocations: 32.86 kB / 249.4 MB, free: 3.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.02676, allocations: 175.7 kB / 249.6 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005428/0.0273, allocations: 1.182 MB / 250.8 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.0275, allocations: 40.08 kB / 250.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.02752, allocations: 24 kB / 250.8 MB, free: 2.223 MB / 250.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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.02765, allocations: 161.5 kB / 251 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.0277, allocations: 59.92 kB / 251.1 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.02791, allocations: 217.4 kB / 251.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.02791, allocations: 4 kB / 251.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02791, allocations: 0 / 251.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02792, allocations: 11.92 kB / 251.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.02858, allocations: 0.66 MB / 251.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02858, allocations: 4 kB / 251.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.02875, allocations: 79.89 kB / 252 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.02885, allocations: 67.48 kB / 252.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.287e-05/0.0289, allocations: 29.05 kB / 252.1 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.02891, allocations: 8 kB / 252.1 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005426/0.02946, allocations: 1.159 MB / 253.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02946, allocations: 0 / 253.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.02976, allocations: 396.5 kB / 253.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.0298, allocations: 11.98 kB / 253.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.02995, allocations: 23.94 kB / 253.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.03, allocations: 40.11 kB / 253.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.03, allocations: 4 kB / 253.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.03023, allocations: 307.4 kB / 254.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03023, allocations: 0 / 254.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.03059, allocations: 188 kB / 254.2 MB, free: 14.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.03072, allocations: 112.2 kB / 254.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.03106, allocations: 376.8 kB / 254.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.6e-05/0.03108, allocations: 16.48 kB / 254.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.03121, allocations: 208.9 kB / 254.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.03167, allocations: 255.8 kB / 255.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/0.03977, allocations: 1.68 MB / 256.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.03988, allocations: 178.4 kB / 257 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.04007, allocations: 94.3 kB / 257.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.04032, allocations: 221.2 kB / 257.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04032, allocations: 7.938 kB / 257.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01748/0.0578, allocations: 10.2 MB / 267.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8177719032391906]