Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001616/0.001616, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.001661/0.001661, allocations: 180.2 kB / 26.4 MB, free: 7.961 MB / 18.57 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 1.084/1.084, allocations: 158.6 MB / 188.3 MB, free: 2.766 MB / 170.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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 3.984 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.73e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009048/0.009085, allocations: 6.932 MB / 259.2 MB, free: 260 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.01361, allocations: 2.315 MB / 261.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.01453, allocations: 19.94 kB / 261.5 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.01599, allocations: 492.8 kB / 262 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01718, allocations: 428.6 kB / 262.4 MB, free: 13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.01763, allocations: 207.7 kB / 262.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.01907, allocations: 1.252 MB / 263.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.01967, allocations: 316.5 kB / 264.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.02087, allocations: 0.7092 MB / 264.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.02156, allocations: 390.9 kB / 265.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.02177, allocations: 112 kB / 265.4 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.02211, allocations: 147.9 kB / 265.5 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.02229, allocations: 231.1 kB / 265.8 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.02282, allocations: 379.1 kB / 266.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.02398, allocations: 0.7628 MB / 266.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02399, allocations: 0 / 266.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02399, allocations: 0 / 266.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.02401, allocations: 0 / 266.9 MB, free: 8.496 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.001989/0.026, allocations: 1.305 MB / 268.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.02604, allocations: 19.92 kB / 268.2 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.02654, allocations: 216.2 kB / 268.4 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.02744, allocations: 0.5598 MB / 269 MB, free: 6.332 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.0275, allocations: 66.31 kB / 269.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.02761, allocations: 88.25 kB / 269.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.0285, allocations: 0.6217 MB / 269.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.02853, allocations: 4.125 kB / 269.8 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.02858, allocations: 35.94 kB / 269.8 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.0286, allocations: 20 kB / 269.8 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.02902, allocations: 229.7 kB / 270.1 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.03281, allocations: 3.266 MB / 273.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.0331, allocations: 147 kB / 273.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.03318, allocations: 51.66 kB / 273.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.03321, allocations: 8.438 kB / 273.5 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.03323, allocations: 41.39 kB / 273.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.03324, allocations: 3.938 kB / 273.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.001106/0.03434, allocations: 0.5694 MB / 274.1 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.03439, allocations: 85.05 kB / 274.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.03503, allocations: 0.6707 MB / 274.9 MB, free: 96 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.03505, allocations: 33.7 kB / 274.9 MB, free: 56 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.03543, allocations: 0.5683 MB / 275.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.0355, allocations: 111 kB / 275.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.03564, allocations: 123.9 kB / 275.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.03585, allocations: 0.5624 MB / 276.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.03593, allocations: 45.27 kB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.03627, allocations: 499.1 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.03675, allocations: 0.5526 MB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.03676, allocations: 4 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006792/0.03744, allocations: 488.3 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.03746, allocations: 12 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.03748, allocations: 12.75 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.03761, allocations: 43.59 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.03796, allocations: 135.8 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009458/0.03891, allocations: 1.717 MB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.03924, allocations: 27.94 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.03927, allocations: 32.12 kB / 279.8 MB, free: 10.62 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.0001941/0.03947, allocations: 204.2 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.03957, allocations: 75.58 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.0399, allocations: 215.8 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.03991, allocations: 7.984 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.03991, allocations: 0 / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.03992, allocations: 0 / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.04094, allocations: 0.7958 MB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.04094, allocations: 0 / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.04114, allocations: 55.91 kB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.571e-05/0.04124, allocations: 23.67 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.04126, allocations: 11.94 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.04247, allocations: 1.713 MB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04247, allocations: 0 / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.04298, allocations: 485.9 kB / 283.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.04314, allocations: 91.48 kB / 283.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.04321, allocations: 11.98 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.04344, allocations: 16.12 kB / 283.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.0435, allocations: 31.89 kB / 283.5 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.04351, allocations: 8 kB / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000382/0.04389, allocations: 394.8 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04389, allocations: 0 / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006864/0.04458, allocations: 160 kB / 284.1 MB, free: 6.09 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.0001834/0.04476, allocations: 123.1 kB / 284.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.04528, allocations: 395.9 kB / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.04528, allocations: 8.062 kB / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.0455, allocations: 253.5 kB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.04624, allocations: 179 kB / 285 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.04857, allocations: 1.339 MB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.0487, allocations: 142.1 kB / 286.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000277/0.04898, allocations: 85.45 kB / 286.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.04934, allocations: 234 kB / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04934, allocations: 0 / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of Templates: time 0.01759/0.06693, allocations: 8.821 MB / 295.6 MB, free: 10.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/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: 3.158057917840779]