Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.0007405/0.0007405, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001755, allocations: 453.9 kB / 10.45 MB, free: 244 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.0006891/0.0006891, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009711/0.00166, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9804/0.9804, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09546/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.117e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006358/0.006379, allocations: 7.089 MB / 251.8 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.009932, allocations: 2.414 MB / 254.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.01045, allocations: 19.94 kB / 254.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009277/0.01138, allocations: 492.8 kB / 254.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.01202, allocations: 436.5 kB / 255.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.01242, allocations: 203.8 kB / 255.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.0139, allocations: 1.257 MB / 256.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.01436, allocations: 332.5 kB / 256.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009493/0.01531, allocations: 0.8174 MB / 257.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.01584, allocations: 394.8 kB / 258.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.01595, allocations: 112 kB / 258.2 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.0162, allocations: 148 kB / 258.4 MB, free: 472 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01631, allocations: 175.4 kB / 258.5 MB, free: 296 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.01659, allocations: 319.4 kB / 258.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.01731, allocations: 0.7277 MB / 259.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.01732, allocations: 3.938 kB / 259.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01732, allocations: 0 / 259.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.01734, allocations: 0 / 259.6 MB, free: 15.24 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.001203/0.01854, allocations: 1.364 MB / 261 MB, free: 13.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.01857, allocations: 12.03 kB / 261 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.0189, allocations: 257.9 kB / 261.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.01944, allocations: 466.6 kB / 261.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.01947, allocations: 58.38 kB / 261.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.01954, allocations: 84.33 kB / 261.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.02007, allocations: 0.6151 MB / 262.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.02009, allocations: 8.172 kB / 262.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.02013, allocations: 39.92 kB / 262.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.02014, allocations: 20 kB / 262.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.02037, allocations: 197.8 kB / 262.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.02248, allocations: 2.593 MB / 265.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.02266, allocations: 128.8 kB / 265.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.02271, allocations: 52.83 kB / 265.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.02273, allocations: 11.98 kB / 265.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.02275, allocations: 38.5 kB / 265.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.02275, allocations: 0 / 265.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007616/0.02352, allocations: 0.5457 MB / 266.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.02354, allocations: 55.64 kB / 266.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.02395, allocations: 0.595 MB / 266.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.02396, allocations: 33.7 kB / 266.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.02414, allocations: 460.4 kB / 267.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.02419, allocations: 111.1 kB / 267.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.02428, allocations: 114.2 kB / 267.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02439, allocations: 374.6 kB / 267.8 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.02444, allocations: 49.22 kB / 267.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.02462, allocations: 371.9 kB / 268.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.02491, allocations: 489.3 kB / 268.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02492, allocations: 3.938 kB / 268.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003475/0.02526, allocations: 390.5 kB / 269 MB, free: 5.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.02528, allocations: 16.22 kB / 269.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02529, allocations: 11.94 kB / 269.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.712e-05/0.02538, allocations: 32.78 kB / 269.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.02565, allocations: 151.8 kB / 269.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005504/0.0262, allocations: 1.182 MB / 270.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.02639, allocations: 31.94 kB / 270.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.02641, allocations: 28 kB / 270.5 MB, free: 3.555 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.0001173/0.02653, allocations: 153.6 kB / 270.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.02658, allocations: 51.88 kB / 270.7 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.02677, allocations: 184.9 kB / 270.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02677, allocations: 4 kB / 270.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.02677, allocations: 4.062 kB / 270.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.02677, allocations: 0 / 270.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.02735, allocations: 0.5948 MB / 271.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02735, allocations: 0 / 271.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.0275, allocations: 67.91 kB / 271.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.02758, allocations: 59.56 kB / 271.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/0.02764, allocations: 29.06 kB / 271.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.02765, allocations: 0 / 271.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004566/0.0281, allocations: 1.159 MB / 272.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02811, allocations: 4 kB / 272.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.02836, allocations: 359.3 kB / 273.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.02839, allocations: 8 kB / 273.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.02852, allocations: 15.98 kB / 273.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.02856, allocations: 27.91 kB / 273.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.02857, allocations: 11.98 kB / 273.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.02878, allocations: 283.3 kB / 273.5 MB, free: 368 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02878, allocations: 0 / 273.5 MB, free: 368 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.02912, allocations: 160 kB / 273.6 MB, free: 208 kB / 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.0001369/0.02926, allocations: 104.3 kB / 273.7 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.0296, allocations: 356.9 kB / 274.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.597e-05/0.02962, allocations: 14.84 kB / 274.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.02978, allocations: 206.3 kB / 274.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.03064, allocations: 1.742 MB / 276 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.04029, allocations: 1.387 MB / 277.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.04045, allocations: 150.1 kB / 277.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.04081, allocations: 77.56 kB / 277.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.04118, allocations: 201.2 kB / 277.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.04118, allocations: 4 kB / 277.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of Templates: time 0.01742/0.0586, allocations: 8.706 MB / 286.6 MB, free: 3.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6235110042616725]