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.00107/0.00107, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001135/0.001135, allocations: 169.6 kB / 25.69 MB, free: 8.445 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 0.9252/0.9252, allocations: 158.6 MB / 187.6 MB, free: 2.781 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 1.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.323e-05, allocations: 2.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008352/0.008375, allocations: 6.994 MB / 258.6 MB, free: 180 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.01198, allocations: 2.396 MB / 261 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.01227, allocations: 23.88 kB / 261 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.01317, allocations: 496.8 kB / 261.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.01365, allocations: 428.7 kB / 261.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.01387, allocations: 211.7 kB / 262.1 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.01466, allocations: 1.251 MB / 263.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.01501, allocations: 324.5 kB / 263.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.01556, allocations: 0.713 MB / 264.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.01594, allocations: 390.9 kB / 264.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.01603, allocations: 111.9 kB / 264.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.01623, allocations: 160 kB / 265 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.01633, allocations: 231.1 kB / 265.3 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.01656, allocations: 375.1 kB / 265.6 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.01719, allocations: 0.7666 MB / 266.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01719, allocations: 0 / 266.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01719, allocations: 0 / 266.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.0172, allocations: 0 / 266.4 MB, free: 8.293 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.001097/0.0183, allocations: 1.161 MB / 267.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.01833, allocations: 11.98 kB / 267.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.01863, allocations: 172.8 kB / 267.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.01914, allocations: 474.6 kB / 268.2 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.01917, allocations: 58.38 kB / 268.3 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.01924, allocations: 88.27 kB / 268.3 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.01974, allocations: 0.6073 MB / 268.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.01976, allocations: 12.11 kB / 269 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.0198, allocations: 39.94 kB / 269 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01981, allocations: 16 kB / 269 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.02004, allocations: 201.8 kB / 269.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.02199, allocations: 2.586 MB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.02217, allocations: 134.4 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.02223, allocations: 48.77 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.02224, allocations: 4.438 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.02227, allocations: 34.56 kB / 272 MB, free: 2.375 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.02227, allocations: 4 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007364/0.023, allocations: 0.5391 MB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.02304, allocations: 81.11 kB / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.02344, allocations: 0.6028 MB / 273.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.02346, allocations: 29.7 kB / 273.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.02363, allocations: 452.5 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.02368, allocations: 115 kB / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.02377, allocations: 114.2 kB / 273.9 MB, free: 384 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.02388, allocations: 378.7 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.02393, allocations: 45.23 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.02411, allocations: 367.8 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.0244, allocations: 457.2 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.0244, allocations: 4 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003657/0.02477, allocations: 397.7 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.02478, allocations: 12.94 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.02479, allocations: 8 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-05/0.02489, allocations: 36.78 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.02514, allocations: 147.8 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005673/0.02571, allocations: 1.166 MB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.0259, allocations: 40.06 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.02592, allocations: 24 kB / 277 MB, free: 12.95 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.0001197/0.02604, allocations: 149.6 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.02609, allocations: 51.88 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.02628, allocations: 181 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.02628, allocations: 0 / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02629, allocations: 4 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.02629, allocations: 0 / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.02686, allocations: 0.5986 MB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02687, allocations: 4 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.02701, allocations: 55.91 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.326e-05/0.02706, allocations: 24.84 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.02707, allocations: 8 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004626/0.02754, allocations: 1.166 MB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.02754, allocations: 7.875 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.02779, allocations: 355.2 kB / 279.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.02789, allocations: 67.55 kB / 279.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.02792, allocations: 12.12 kB / 279.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.02805, allocations: 15.98 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.02809, allocations: 19.97 kB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.0281, allocations: 8 kB / 279.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.02831, allocations: 283.3 kB / 280 MB, free: 9.754 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02831, allocations: 4 kB / 280 MB, free: 9.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.02867, allocations: 156 kB / 280.1 MB, free: 9.598 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.000148/0.02881, allocations: 100.3 kB / 280.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.02916, allocations: 353.2 kB / 280.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/0.02917, allocations: 12.5 kB / 280.6 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.0293, allocations: 187.5 kB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.02972, allocations: 167.8 kB / 280.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.03119, allocations: 1.294 MB / 282.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.03128, allocations: 146.1 kB / 282.4 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.03145, allocations: 77.56 kB / 282.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.03169, allocations: 197.2 kB / 282.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03169, allocations: 4 kB / 282.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of Templates: time 0.01096/0.04265, allocations: 8.615 MB / 291.2 MB, free: 14.41 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 -s gbode -gbm=radauIIA3 -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: 2.80214209202677]