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.00123/0.00123, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002271/0.003501, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001159/0.001159, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001781/0.002941, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9431/0.9431, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08295/1.026, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.743e-06/1.743e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.434e-05, allocations: 2.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009041/0.009065, allocations: 7.058 MB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.01393, allocations: 2.379 MB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.01483, allocations: 19.94 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.01625, allocations: 496.8 kB / 249.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.01764, allocations: 436.6 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.01817, allocations: 207.7 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.01983, allocations: 1.253 MB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.02043, allocations: 328.5 kB / 251.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.02196, allocations: 0.8251 MB / 252.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.02271, allocations: 394.8 kB / 252.9 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.02292, allocations: 108 kB / 253 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.0234, allocations: 152 kB / 253.2 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.02357, allocations: 171.4 kB / 253.3 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.02402, allocations: 323.4 kB / 253.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.02516, allocations: 0.7239 MB / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.331e-05/0.02518, allocations: 0 / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.02519, allocations: 0 / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.428e-05/0.02523, allocations: 0 / 254.4 MB, free: 4.277 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002297/0.02753, allocations: 1.368 MB / 255.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.02757, allocations: 8.031 kB / 255.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.0281, allocations: 257.9 kB / 256 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.02903, allocations: 470.6 kB / 256.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.02908, allocations: 58.38 kB / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.02919, allocations: 88.33 kB / 256.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.03007, allocations: 0.6112 MB / 257.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.03011, allocations: 4.188 kB / 257.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.03016, allocations: 35.94 kB / 257.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.03018, allocations: 16 kB / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.03059, allocations: 201.8 kB / 257.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.03404, allocations: 2.605 MB / 260.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.03432, allocations: 126.4 kB / 260.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.0344, allocations: 52.78 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.03443, allocations: 4 kB / 260.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.03446, allocations: 46.55 kB / 260.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/0.03446, allocations: 0 / 260.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001246/0.03571, allocations: 0.5316 MB / 260.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.03574, allocations: 55.64 kB / 260.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.03639, allocations: 0.5989 MB / 261.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.03642, allocations: 33.7 kB / 261.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.03669, allocations: 452.5 kB / 261.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.03677, allocations: 115 kB / 262.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.0369, allocations: 118.2 kB / 262.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.03705, allocations: 378.6 kB / 262.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.03714, allocations: 45.23 kB / 262.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.03742, allocations: 375.8 kB / 263 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.03787, allocations: 453.3 kB / 263.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.03788, allocations: 4 kB / 263.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006103/0.03849, allocations: 402.5 kB / 263.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.03851, allocations: 8 kB / 263.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.03852, allocations: 12 kB / 263.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.03866, allocations: 28.8 kB / 263.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.03911, allocations: 155.7 kB / 264 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/0.03994, allocations: 1.178 MB / 265.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.04035, allocations: 31.94 kB / 265.2 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.04039, allocations: 24 kB / 265.2 MB, free: 8.621 MB / 266.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.0002059/0.04059, allocations: 149.6 kB / 265.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.04068, allocations: 47.89 kB / 265.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.04099, allocations: 192.9 kB / 265.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.04099, allocations: 8.047 kB / 265.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.041, allocations: 4 kB / 265.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.041, allocations: 0 / 265.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.04194, allocations: 0.5862 MB / 266.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.04195, allocations: 4 kB / 266.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.04219, allocations: 63.91 kB / 266.3 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.04234, allocations: 71.81 kB / 266.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.921e-05/0.04242, allocations: 16.86 kB / 266.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.04244, allocations: 8 kB / 266.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/0.04317, allocations: 1.162 MB / 267.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.04317, allocations: 4.062 kB / 267.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.04358, allocations: 355.2 kB / 267.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.04365, allocations: 8 kB / 267.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.04388, allocations: 15.98 kB / 267.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.04394, allocations: 19.97 kB / 267.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.04395, allocations: 12 kB / 267.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003537/0.04431, allocations: 279.3 kB / 268.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.04431, allocations: 0 / 268.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006966/0.045, allocations: 168 kB / 268.4 MB, free: 5.27 MB / 266.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.0001948/0.0452, allocations: 108.2 kB / 268.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.04572, allocations: 353 kB / 268.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.034e-05/0.04575, allocations: 18.44 kB / 268.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.04594, allocations: 183.8 kB / 269 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.04666, allocations: 226.9 kB / 269.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.05741, allocations: 1.376 MB / 270.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.05753, allocations: 146.1 kB / 270.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.05779, allocations: 85.55 kB / 270.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.05803, allocations: 197.2 kB / 271 MB, free: 2.488 MB / 266.7 MB Notification: Performance of SimCode: time 2.234e-06/0.05803, allocations: 4 kB / 271 MB, free: 2.484 MB / 266.7 MB Notification: Performance of Templates: time 0.01226/0.07029, allocations: 9.064 MB / 280.1 MB, free: 9.617 MB / 282.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 -ignoreHideResult -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.6043178560212255]