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.001442/0.001442, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001475/0.001475, allocations: 166.2 kB / 25.02 MB, free: 8.945 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.572/1.572, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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 2.465e-06/2.465e-06, allocations: 0 / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.09e-05/4.336e-05, allocations: 2.312 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.003247/0.00329, allocations: 1.197 MB / 251.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.008249, allocations: 2.043 MB / 253.6 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.008282, allocations: 0 / 253.6 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.008312, allocations: 3.938 kB / 253.6 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.01021, allocations: 446.4 kB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.17e-05/0.01025, allocations: 7.922 kB / 254 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.01031, allocations: 7.938 kB / 254 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.01036, allocations: 0 / 254 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.0104, allocations: 4 kB / 254 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.0105, allocations: 11.92 kB / 254 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.01052, allocations: 0 / 254 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.01163, allocations: 443.4 kB / 254.5 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.01165, allocations: 4 kB / 254.5 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.01168, allocations: 3.938 kB / 254.5 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009288/0.01261, allocations: 427 kB / 254.9 MB, free: 3.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01262, allocations: 0 / 254.9 MB, free: 3.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01262, allocations: 4 kB / 254.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.01262, allocations: 0 / 254.9 MB, free: 3.258 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.0006863/0.01331, allocations: 333.5 kB / 255.2 MB, free: 2.902 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.01336, allocations: 11.98 kB / 255.2 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.01347, allocations: 76.22 kB / 255.3 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.01371, allocations: 197 kB / 255.5 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.01383, allocations: 150.9 kB / 255.6 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.01394, allocations: 154.9 kB / 255.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.01404, allocations: 101.5 kB / 255.9 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.01411, allocations: 83.22 kB / 256 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.01424, allocations: 150.6 kB / 256.1 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.01436, allocations: 154.6 kB / 256.3 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01449, allocations: 158.5 kB / 256.4 MB, free: 1.652 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.01498, allocations: 401.6 kB / 256.8 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.01515, allocations: 165.1 kB / 257 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.01522, allocations: 80.14 kB / 257.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.01529, allocations: 83.28 kB / 257.1 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.01555, allocations: 43.36 kB / 257.2 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.01555, allocations: 4 kB / 257.2 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.01576, allocations: 37.62 kB / 257.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.01583, allocations: 51.41 kB / 257.3 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.01598, allocations: 105.8 kB / 257.4 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.01601, allocations: 25.7 kB / 257.4 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.01608, allocations: 80.14 kB / 257.5 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.01611, allocations: 11.95 kB / 257.5 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.01616, allocations: 9.719 kB / 257.5 MB, free: 488 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.01642, allocations: 314.8 kB / 257.8 MB, free: 164 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.01644, allocations: 4 kB / 257.8 MB, free: 160 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.01645, allocations: 8.062 kB / 257.8 MB, free: 152 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.01648, allocations: 8.859 kB / 257.8 MB, free: 140 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01648, allocations: 0 / 257.8 MB, free: 140 kB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.905e-05/0.01658, allocations: 37.69 kB / 257.9 MB, free: 96 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.0166, allocations: 4 kB / 257.9 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.01661, allocations: 3.938 kB / 257.9 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.01664, allocations: 4 kB / 257.9 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.01666, allocations: 0 / 257.9 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01667, allocations: 0 / 257.9 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.01669, allocations: 96 / 257.9 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.0167, allocations: 4 kB / 257.9 MB, free: 80 kB / 234.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 0.000152/0.01685, allocations: 109.8 kB / 258 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.01687, allocations: 3.938 kB / 258 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.01691, allocations: 15.03 kB / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01692, allocations: 0 / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.01693, allocations: 4 kB / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01693, allocations: 4 kB / 258 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01711, allocations: 97.33 kB / 258.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01711, allocations: 0 / 258.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.01712, allocations: 4 kB / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01712, allocations: 7.984 kB / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.01713, allocations: 0 / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.01713, allocations: 3.938 kB / 258.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01713, allocations: 0 / 258.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.01725, allocations: 57.14 kB / 258.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.01726, allocations: 0 / 258.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01728, allocations: 3.984 kB / 258.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.01731, allocations: 7.938 kB / 258.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.01732, allocations: 4.125 kB / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.01733, allocations: 0 / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.0174, allocations: 87.3 kB / 258.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0174, allocations: 0 / 258.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007537/0.01816, allocations: 135.5 kB / 258.4 MB, free: 15.48 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.001912/0.02007, allocations: 0.4988 MB / 258.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.111e-05/0.02016, allocations: 4 kB / 258.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.02017, allocations: 0 / 258.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.02018, allocations: 4 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.02042, allocations: 4.125 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.0208, allocations: 115.7 kB / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.02089, allocations: 55.36 kB / 259.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.02093, allocations: 7.984 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.02097, allocations: 16.48 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02098, allocations: 0 / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of Templates: time 0.01087/0.03184, allocations: 2.862 MB / 262 MB, free: 11.92 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.594097726978362]