Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001419/0.001419, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00115/0.00115, allocations: 165.6 kB / 25.69 MB, free: 8.449 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.9438/0.9438, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.388e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002684/0.002708, allocations: 1.283 MB / 252.8 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.00576, allocations: 2.113 MB / 254.9 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.005782, allocations: 0 / 254.9 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.005806, allocations: 7.938 kB / 254.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.007215, allocations: 386.4 kB / 255.3 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.847e-05/0.007243, allocations: 8 kB / 255.3 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.007293, allocations: 7.938 kB / 255.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.007333, allocations: 3.984 kB / 255.3 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.007371, allocations: 7.938 kB / 255.3 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.007431, allocations: 7.984 kB / 255.3 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.007441, allocations: 0 / 255.3 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009161/0.008357, allocations: 0.4915 MB / 255.8 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.008369, allocations: 3.938 kB / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.008385, allocations: 8 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.00908, allocations: 419 kB / 256.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.009084, allocations: 0 / 256.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009085, allocations: 0 / 256.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.009089, allocations: 0 / 256.3 MB, free: 2.516 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004027/0.009492, allocations: 312.2 kB / 256.6 MB, free: 2.188 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.009531, allocations: 15.98 kB / 256.6 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.00958, allocations: 76.22 kB / 256.6 MB, free: 2.098 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.0097, allocations: 185 kB / 256.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.009747, allocations: 154.9 kB / 257 MB, free: 1.738 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.009789, allocations: 158.9 kB / 257.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.539e-05/0.009844, allocations: 109.5 kB / 257.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.009868, allocations: 79.22 kB / 257.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.009914, allocations: 150.6 kB / 257.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.00996, allocations: 150.6 kB / 257.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.01, allocations: 158.5 kB / 257.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.01021, allocations: 357.3 kB / 258.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.01028, allocations: 173.1 kB / 258.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.01031, allocations: 80.14 kB / 258.4 MB, free: 320 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01033, allocations: 75.28 kB / 258.4 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.01044, allocations: 47.41 kB / 258.5 MB, free: 184 kB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.01044, allocations: 4 kB / 258.5 MB, free: 180 kB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 9.944e-05/0.01054, allocations: 33.64 kB / 258.5 MB, free: 140 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.01057, allocations: 55.34 kB / 258.6 MB, free: 72 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.01066, allocations: 106.7 kB / 258.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.01067, allocations: 25.7 kB / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.01069, allocations: 88.12 kB / 258.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.01071, allocations: 0 / 258.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.01073, allocations: 9.719 kB / 258.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.01082, allocations: 318.8 kB / 259.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.01083, allocations: 4.125 kB / 259.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.01083, allocations: 0 / 259.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.01087, allocations: 8.859 kB / 259.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01087, allocations: 0 / 259.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.485e-05/0.01092, allocations: 33.64 kB / 259.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.01094, allocations: 4 kB / 259.2 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01094, allocations: 4 kB / 259.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01096, allocations: 0 / 259.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.01098, allocations: 7.922 kB / 259.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.01098, allocations: 4.094 kB / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.011, allocations: 0 / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.01101, allocations: 0 / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.01107, allocations: 109.8 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.01108, allocations: 0 / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.01111, allocations: 7.156 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01111, allocations: 0 / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01111, allocations: 7.938 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01112, allocations: 3.984 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.819e-05/0.01119, allocations: 61.89 kB / 259.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01119, allocations: 0 / 259.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.0112, allocations: 8 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.0112, allocations: 3.938 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.01121, allocations: 4 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01121, allocations: 0 / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01121, allocations: 3.938 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.01128, allocations: 61.06 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.01128, allocations: 0 / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.01129, allocations: 0 / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.0113, allocations: 0 / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.01131, allocations: 4.188 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.01132, allocations: 4.031 kB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.972e-05/0.01134, allocations: 20.77 kB / 259.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01134, allocations: 0 / 259.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003925/0.01173, allocations: 127.6 kB / 259.6 MB, free: 14.95 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000904/0.01263, allocations: 0.5584 MB / 260.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.911e-05/0.01268, allocations: 12.8 kB / 260.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.01269, allocations: 64 / 260.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/0.01269, allocations: 8.859 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.972e-05/0.01276, allocations: 8 kB / 260.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.01309, allocations: 103.8 kB / 260.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.977e-05/0.01312, allocations: 59.34 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.415e-05/0.01314, allocations: 7.938 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.01317, allocations: 55.36 kB / 260.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01317, allocations: 4.062 kB / 260.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of Templates: time 0.004948/0.01812, allocations: 3.425 MB / 263.8 MB, free: 10.72 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.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.716181257739663]