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.000729/0.000729, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001777, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006272/0.0006272, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009297/0.001557, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.7892/0.7892, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1369/0.9261, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.392e-06/1.392e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.202e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.005268/0.00528, allocations: 7.06 MB / 246.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.007477, allocations: 2.381 MB / 249.2 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.00773, allocations: 23.88 kB / 249.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.008405, allocations: 495.7 kB / 249.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.008848, allocations: 432.5 kB / 250.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.009057, allocations: 205 kB / 250.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.009768, allocations: 1.264 MB / 251.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.01009, allocations: 330.2 kB / 251.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.0107, allocations: 0.8213 MB / 252.7 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.01102, allocations: 382.8 kB / 253.1 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.0111, allocations: 112 kB / 253.2 MB, free: 8.855 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.0113, allocations: 152 kB / 253.4 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.01139, allocations: 175.4 kB / 253.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.0116, allocations: 323.4 kB / 253.8 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.0122, allocations: 0.7277 MB / 254.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.01221, allocations: 0 / 254.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01221, allocations: 0 / 254.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.01222, allocations: 0 / 254.6 MB, free: 7.488 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.001105/0.01333, allocations: 1.364 MB / 255.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.01335, allocations: 12.03 kB / 255.9 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.01372, allocations: 253.9 kB / 256.2 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.01424, allocations: 470.7 kB / 256.7 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.01428, allocations: 58.38 kB / 256.7 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.01435, allocations: 88.3 kB / 256.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.01485, allocations: 0.619 MB / 257.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.01487, allocations: 192 / 257.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.0149, allocations: 39.94 kB / 257.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.01491, allocations: 20 kB / 257.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.01514, allocations: 197.8 kB / 257.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.01715, allocations: 2.601 MB / 260.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.01734, allocations: 130.2 kB / 260.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.01739, allocations: 48.83 kB / 260.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.01741, allocations: 4 kB / 260.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01744, allocations: 38.56 kB / 260.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.113e-06/0.01744, allocations: 4 kB / 260.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007319/0.01817, allocations: 0.5327 MB / 261 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.01819, allocations: 55.64 kB / 261.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.01859, allocations: 0.6027 MB / 261.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.0186, allocations: 33.7 kB / 261.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01877, allocations: 456.4 kB / 262.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.01882, allocations: 111 kB / 262.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.0189, allocations: 118.2 kB / 262.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.019, allocations: 378.6 kB / 262.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.01905, allocations: 45.28 kB / 262.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01922, allocations: 371.9 kB / 263.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.01952, allocations: 487.1 kB / 263.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01952, allocations: 0 / 263.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003542/0.01987, allocations: 397.7 kB / 264 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01989, allocations: 12.91 kB / 264 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.0199, allocations: 8 kB / 264 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.984e-05/0.02, allocations: 36.78 kB / 264.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.02026, allocations: 159.8 kB / 264.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005274/0.02078, allocations: 1.174 MB / 265.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.021, allocations: 32.08 kB / 265.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.02102, allocations: 28 kB / 265.5 MB, free: 11.8 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.0001225/0.02115, allocations: 149.7 kB / 265.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.0212, allocations: 55.81 kB / 265.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.02139, allocations: 177 kB / 265.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.02139, allocations: 4 kB / 265.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.0214, allocations: 0 / 265.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.0214, allocations: 4.031 kB / 265.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.02196, allocations: 0.6007 MB / 266.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.02196, allocations: 0 / 266.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.0221, allocations: 67.89 kB / 266.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.0222, allocations: 67.56 kB / 266.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.1e-05/0.02226, allocations: 20.84 kB / 266.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.02227, allocations: 12.22 kB / 266.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004411/0.02271, allocations: 1.158 MB / 267.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.02271, allocations: 4 kB / 267.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.02295, allocations: 351.2 kB / 268.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.02299, allocations: 8.125 kB / 268.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.02311, allocations: 19.98 kB / 268.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.02315, allocations: 27.89 kB / 268.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.02316, allocations: 7.938 kB / 268.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.02337, allocations: 283.3 kB / 268.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02337, allocations: 0 / 268.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000334/0.0237, allocations: 156 kB / 268.6 MB, free: 8.453 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.0001345/0.02384, allocations: 108.3 kB / 268.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.02415, allocations: 359.2 kB / 269.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/0.02417, allocations: 12.5 kB / 269.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.02431, allocations: 203.4 kB / 269.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.02515, allocations: 1.746 MB / 271 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/0.03237, allocations: 1.395 MB / 272.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.03246, allocations: 150.1 kB / 272.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.03263, allocations: 85.55 kB / 272.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.03285, allocations: 193.3 kB / 272.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03286, allocations: 0 / 272.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of Templates: time 0.01139/0.04425, allocations: 8.704 MB / 281.5 MB, free: 11.27 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4520305125042796]