Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 68.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 144 kB / 24.97 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9251/0.9251, allocations: 173.4 MB / 201.5 MB, free: 8.457 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 268.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.252e-05, allocations: 2.312 kB / 268.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006319/0.006341, allocations: 7.11 MB / 275.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.01004, allocations: 2.3 MB / 277.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.01079, allocations: 23.88 kB / 277.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.01198, allocations: 480.9 kB / 278 MB, free: 464 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009048/0.01289, allocations: 432.6 kB / 278.4 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.01328, allocations: 203.8 kB / 278.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01441, allocations: 1.255 MB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.0151, allocations: 316.5 kB / 280.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.01598, allocations: 0.7092 MB / 280.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.01648, allocations: 390.9 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.01661, allocations: 112 kB / 281.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.01687, allocations: 152 kB / 281.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.017, allocations: 235.1 kB / 281.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.0173, allocations: 383.1 kB / 282.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.01815, allocations: 0.7783 MB / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01816, allocations: 0 / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01816, allocations: 0 / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.01817, allocations: 4 kB / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001426/0.0196, allocations: 1.294 MB / 284.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01963, allocations: 12.03 kB / 284.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.02, allocations: 212.2 kB / 284.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.02067, allocations: 0.591 MB / 285 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.02071, allocations: 62.38 kB / 285.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.02079, allocations: 84.33 kB / 285.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.02152, allocations: 0.6569 MB / 285.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.02154, allocations: 8.125 kB / 285.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.0216, allocations: 39.94 kB / 285.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.02161, allocations: 20 kB / 285.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.02204, allocations: 287.7 kB / 286.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.02475, allocations: 3.24 MB / 289.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.02502, allocations: 158.9 kB / 289.5 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.02511, allocations: 63.66 kB / 289.6 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.02514, allocations: 7.984 kB / 289.6 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.02516, allocations: 45.38 kB / 289.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.02516, allocations: 0 / 289.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001037/0.0262, allocations: 0.7113 MB / 290.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.02624, allocations: 85.28 kB / 290.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.02681, allocations: 0.6828 MB / 291.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.02683, allocations: 33.7 kB / 291.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.02709, allocations: 0.5645 MB / 291.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.02715, allocations: 111 kB / 291.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.02725, allocations: 119.9 kB / 292 MB, free: 1.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.02742, allocations: 0.5508 MB / 292.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.02752, allocations: 61.27 kB / 292.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.02782, allocations: 0.4992 MB / 293.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.02827, allocations: 0.5888 MB / 293.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02828, allocations: 4 kB / 293.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007789/0.02906, allocations: 0.5048 MB / 294.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.02908, allocations: 16.22 kB / 294.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.02909, allocations: 11.94 kB / 294.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.02922, allocations: 27.69 kB / 294.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.02947, allocations: 135.8 kB / 294.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000796/0.03027, allocations: 1.752 MB / 296.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.03049, allocations: 35.98 kB / 296.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.03051, allocations: 32 kB / 296.2 MB, free: 13.26 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0001732/0.03068, allocations: 196.3 kB / 296.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.03076, allocations: 79.56 kB / 296.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.03105, allocations: 227.7 kB / 296.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.03105, allocations: 4 kB / 296.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.03106, allocations: 0 / 296.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.03106, allocations: 7.984 kB / 296.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/0.03196, allocations: 0.9145 MB / 297.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.03196, allocations: 8 kB / 297.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.03211, allocations: 59.86 kB / 297.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/0.03218, allocations: 19.89 kB / 297.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.03219, allocations: 12 kB / 297.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006637/0.03285, allocations: 1.728 MB / 299.4 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.03286, allocations: 4 kB / 299.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.03324, allocations: 497.9 kB / 299.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.03336, allocations: 95.66 kB / 300 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.0334, allocations: 8 kB / 300 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03355, allocations: 15.92 kB / 300 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.03361, allocations: 35.89 kB / 300.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.03362, allocations: 4 kB / 300.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003512/0.03397, allocations: 435 kB / 300.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03397, allocations: 0 / 300.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.03438, allocations: 156 kB / 300.6 MB, free: 8.508 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0001772/0.03456, allocations: 127.1 kB / 300.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.03526, allocations: 431.6 kB / 301.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03526, allocations: 0 / 301.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.03543, allocations: 254.9 kB / 301.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.03597, allocations: 170.8 kB / 301.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.03778, allocations: 1.345 MB / 302.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.03787, allocations: 138.1 kB / 303.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.03807, allocations: 85.47 kB / 303.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.03814, allocations: 44.5 kB / 303.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03814, allocations: 8 kB / 303.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of Templates: time 0.01161/0.04976, allocations: 7.995 MB / 311.2 MB, free: 13.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_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.9023992160800844]