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.002153/0.002153, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002862/0.002862, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 18.57 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 1.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.583e-06/1.583e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.126e-05/4.284e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009396/0.009439, allocations: 6.384 MB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.01386, allocations: 2.216 MB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.01445, allocations: 19.94 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.01576, allocations: 476.9 kB / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.01672, allocations: 436.6 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.0172, allocations: 203.7 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.01889, allocations: 1.241 MB / 283.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005761/0.01946, allocations: 324.4 kB / 283.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.0207, allocations: 0.7092 MB / 284.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.02123, allocations: 358.9 kB / 284.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.02138, allocations: 112 kB / 284.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.02167, allocations: 152 kB / 284.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.02189, allocations: 235.1 kB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.02232, allocations: 379.1 kB / 285.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.0241, allocations: 1.437 MB / 287 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.02411, allocations: 0 / 287 MB, free: 3.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02411, allocations: 0 / 287 MB, free: 3.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.02412, allocations: 0 / 287 MB, free: 3.113 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.002206/0.02633, allocations: 1.19 MB / 288.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.02636, allocations: 8.031 kB / 288.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.02696, allocations: 216.2 kB / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.0281, allocations: 0.5953 MB / 289 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.02817, allocations: 62.38 kB / 289 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.0283, allocations: 80.33 kB / 289.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.02978, allocations: 0.8301 MB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.0298, allocations: 4.188 kB / 289.9 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.02988, allocations: 35.94 kB / 290 MB, free: 0 / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.02992, allocations: 17.23 kB / 290 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.03154, allocations: 0.516 MB / 290.5 MB, free: 28.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.03499, allocations: 2.971 MB / 293.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.03545, allocations: 223.4 kB / 293.7 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.03568, allocations: 105.8 kB / 293.8 MB, free: 26.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.0357, allocations: 4.469 kB / 293.8 MB, free: 26.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.03572, allocations: 33.53 kB / 293.8 MB, free: 26.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.03572, allocations: 1.375 kB / 293.8 MB, free: 26.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001794/0.03752, allocations: 0.9111 MB / 294.7 MB, free: 26.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.03754, allocations: 81.22 kB / 294.8 MB, free: 26.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.0383, allocations: 0.6808 MB / 295.5 MB, free: 25.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.03832, allocations: 31.39 kB / 295.5 MB, free: 25.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.03855, allocations: 0.5126 MB / 296 MB, free: 25.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.03861, allocations: 107.5 kB / 296.1 MB, free: 25.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.03874, allocations: 111.6 kB / 296.3 MB, free: 25.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.03883, allocations: 373.6 kB / 296.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.03908, allocations: 124.3 kB / 296.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.03943, allocations: 451.9 kB / 297.2 MB, free: 24.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.04003, allocations: 0.5772 MB / 297.8 MB, free: 23.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.04003, allocations: 3.5 kB / 297.8 MB, free: 23.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00097/0.041, allocations: 0.631 MB / 298.4 MB, free: 23.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.04102, allocations: 13.38 kB / 298.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.04104, allocations: 10.92 kB / 298.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.04119, allocations: 33.44 kB / 298.5 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.04162, allocations: 144.6 kB / 298.6 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000698/0.04232, allocations: 1.264 MB / 299.9 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.04275, allocations: 29.27 kB / 299.9 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.04279, allocations: 30.28 kB / 299.9 MB, free: 22.43 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.000239/0.04302, allocations: 246.2 kB / 300.2 MB, free: 22.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.04312, allocations: 75.86 kB / 300.2 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.04372, allocations: 308.9 kB / 300.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.04373, allocations: 3.188 kB / 300.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.04373, allocations: 3.984 kB / 300.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.04374, allocations: 6.891 kB / 300.5 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.04507, allocations: 0.8995 MB / 301.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.04508, allocations: 4.016 kB / 301.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.04534, allocations: 59.66 kB / 301.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.584e-05/0.04543, allocations: 22.72 kB / 301.5 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.04545, allocations: 7.844 kB / 301.5 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/0.04601, allocations: 1.253 MB / 302.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.04601, allocations: 2.609 kB / 302.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.04678, allocations: 0.5582 MB / 303.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.04695, allocations: 91.42 kB / 303.4 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.04702, allocations: 13.34 kB / 303.5 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.04734, allocations: 20.31 kB / 303.5 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.0474, allocations: 28.14 kB / 303.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.04742, allocations: 6.562 kB / 303.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004901/0.04791, allocations: 465.2 kB / 304 MB, free: 19.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04791, allocations: 0 / 304 MB, free: 19.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.04854, allocations: 157.1 kB / 304.1 MB, free: 19.58 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.0001597/0.0487, allocations: 120.2 kB / 304.2 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007777/0.04948, allocations: 463 kB / 304.7 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.04948, allocations: 0 / 304.7 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.0498, allocations: 230.6 kB / 304.9 MB, free: 19.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.05062, allocations: 171.4 kB / 305.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.05235, allocations: 1.359 MB / 306.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.05269, allocations: 349.5 kB / 306.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.05295, allocations: 85.16 kB / 306.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.05306, allocations: 46.89 kB / 306.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05306, allocations: 3.938 kB / 306.9 MB, free: 18.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01179/0.06485, allocations: 7.978 MB / 314.9 MB, free: 11.31 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.730016792891547]