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.0008887/0.0008887, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002109, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007145/0.0007145, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009767/0.001691, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8552/0.8552, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1802/1.035, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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.984e-06/1.984e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.668e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006322/0.006339, allocations: 7.026 MB / 229 MB, free: 8.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.01014, allocations: 2.411 MB / 231.4 MB, free: 6.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.01057, allocations: 19.94 kB / 231.5 MB, free: 6.535 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.01137, allocations: 496.8 kB / 231.9 MB, free: 6.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.01194, allocations: 424.7 kB / 232.4 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.01218, allocations: 207.7 kB / 232.6 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.01303, allocations: 1.255 MB / 233.8 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.0134, allocations: 336.5 kB / 234.1 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.0141, allocations: 0.8174 MB / 235 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.01449, allocations: 398.8 kB / 235.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.01459, allocations: 112 kB / 235.5 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.01483, allocations: 148 kB / 235.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.01494, allocations: 179.4 kB / 235.8 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.01518, allocations: 319.4 kB / 236.1 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.01587, allocations: 0.7238 MB / 236.8 MB, free: 1.137 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.01588, allocations: 0 / 236.8 MB, free: 1.137 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01588, allocations: 0 / 236.8 MB, free: 1.137 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.0159, allocations: 0 / 236.8 MB, free: 1.137 MB / 234.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.001508/0.01741, allocations: 1.363 MB / 238.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.01745, allocations: 12.03 kB / 238.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.01781, allocations: 261.8 kB / 238.4 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.01837, allocations: 470.6 kB / 238.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.01841, allocations: 58.38 kB / 239 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.01848, allocations: 84.38 kB / 239 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.01901, allocations: 0.6112 MB / 239.7 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.01903, allocations: 8.875 kB / 239.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.01906, allocations: 32 kB / 239.7 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.01908, allocations: 24 kB / 239.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.01931, allocations: 205.7 kB / 239.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.02135, allocations: 2.597 MB / 242.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.02156, allocations: 122.5 kB / 242.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.02161, allocations: 56.77 kB / 242.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.02163, allocations: 8.375 kB / 242.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.02166, allocations: 34.56 kB / 242.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.02166, allocations: 0 / 242.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007911/0.02245, allocations: 0.5437 MB / 243.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.02248, allocations: 59.41 kB / 243.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.02289, allocations: 0.5911 MB / 243.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02291, allocations: 33.7 kB / 244 MB, free: 9.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.02319, allocations: 456.5 kB / 244.4 MB, free: 9.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.02324, allocations: 111.1 kB / 244.5 MB, free: 9.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.02333, allocations: 114.2 kB / 244.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.02343, allocations: 378.6 kB / 245 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.02348, allocations: 41.3 kB / 245 MB, free: 8.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.02368, allocations: 375.9 kB / 245.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.02399, allocations: 493.2 kB / 245.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.024, allocations: 0 / 245.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003711/0.02437, allocations: 394.6 kB / 246.3 MB, free: 6.984 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.02439, allocations: 15.94 kB / 246.3 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.0244, allocations: 8 kB / 246.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.0245, allocations: 28.86 kB / 246.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.02478, allocations: 155.8 kB / 246.5 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005917/0.02537, allocations: 1.185 MB / 247.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.02556, allocations: 27.98 kB / 247.7 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.02559, allocations: 35.94 kB / 247.7 MB, free: 5.438 MB / 250.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.0001265/0.02571, allocations: 153.5 kB / 247.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.02576, allocations: 43.89 kB / 247.9 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.02596, allocations: 189 kB / 248.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.02596, allocations: 8 kB / 248.1 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02596, allocations: 0 / 248.1 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02597, allocations: 0 / 248.1 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.02654, allocations: 0.6025 MB / 248.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.02655, allocations: 0 / 248.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.0267, allocations: 63.91 kB / 248.8 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.02679, allocations: 63.78 kB / 248.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-05/0.02686, allocations: 24.89 kB / 248.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.02687, allocations: 11.98 kB / 248.9 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004986/0.02737, allocations: 1.154 MB / 250 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02737, allocations: 4.125 kB / 250 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.02764, allocations: 355.3 kB / 250.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.02768, allocations: 11.94 kB / 250.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.02781, allocations: 15.98 kB / 250.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.02786, allocations: 23.91 kB / 250.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.02787, allocations: 12 kB / 250.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.02808, allocations: 279.4 kB / 250.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02808, allocations: 0 / 250.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.02841, allocations: 164 kB / 250.9 MB, free: 2.086 MB / 250.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.0001612/0.02857, allocations: 96.3 kB / 251 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.02901, allocations: 358.6 kB / 251.3 MB, free: 1.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/0.02903, allocations: 16.44 kB / 251.3 MB, free: 1.602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.02919, allocations: 208.4 kB / 251.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.03015, allocations: 1.748 MB / 253.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/0.03764, allocations: 1.38 MB / 254.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.03774, allocations: 150.1 kB / 254.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.03792, allocations: 81.5 kB / 254.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.03817, allocations: 205.2 kB / 255.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03817, allocations: 0 / 255.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Templates: time 0.01203/0.05021, allocations: 8.695 MB / 263.8 MB, free: 4.742 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.722927604801953]