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.001021/0.001021, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001279/0.001279, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.004/1.004, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.392e-06/1.392e-06, allocations: 0 / 251 MB, free: 7.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.843e-05, allocations: 6.25 kB / 251 MB, free: 7.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002134/0.002162, allocations: 1.218 MB / 252.2 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.004555, allocations: 2.105 MB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.004585, allocations: 3.938 kB / 254.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.004612, allocations: 0 / 254.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.005844, allocations: 450.3 kB / 254.8 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.957e-05/0.005873, allocations: 0 / 254.8 MB, free: 3.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.00594, allocations: 7.938 kB / 254.8 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.005989, allocations: 7.984 kB / 254.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.006028, allocations: 0 / 254.8 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.006102, allocations: 11.94 kB / 254.8 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.006118, allocations: 0 / 254.8 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006912/0.006809, allocations: 455.3 kB / 255.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.006823, allocations: 0 / 255.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.006847, allocations: 7.938 kB / 255.3 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.007379, allocations: 419 kB / 255.7 MB, free: 2.859 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.007383, allocations: 0 / 255.7 MB, free: 2.859 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007384, allocations: 0 / 255.7 MB, free: 2.859 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.00739, allocations: 0 / 255.7 MB, free: 2.859 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.0003999/0.00779, allocations: 435.8 kB / 256.1 MB, free: 2.398 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.007836, allocations: 15.98 kB / 256.1 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.007899, allocations: 124.1 kB / 256.2 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.008049, allocations: 235.8 kB / 256.5 MB, free: 2.004 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.008114, allocations: 238.8 kB / 256.7 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.008181, allocations: 238.8 kB / 256.9 MB, free: 1.535 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/0.008256, allocations: 149.5 kB / 257.1 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.008292, allocations: 123.1 kB / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.00837, allocations: 242.4 kB / 257.4 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.008443, allocations: 242.3 kB / 257.7 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.00852, allocations: 238.4 kB / 257.9 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.009166, allocations: 0.5681 MB / 258.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.009265, allocations: 265.5 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.009308, allocations: 134.9 kB / 258.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.00934, allocations: 119.2 kB / 259 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.009464, allocations: 57 kB / 259 MB, free: 15.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.009467, allocations: 0 / 259 MB, free: 15.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.009639, allocations: 37.64 kB / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.009676, allocations: 51.41 kB / 259.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.009772, allocations: 165.9 kB / 259.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.009782, allocations: 25.7 kB / 259.3 MB, free: 15.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.009827, allocations: 130.9 kB / 259.4 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.009846, allocations: 8.078 kB / 259.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.009874, allocations: 23.31 kB / 259.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01, allocations: 0.4884 MB / 259.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.01002, allocations: 0 / 259.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/0.01002, allocations: 0 / 259.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.01005, allocations: 11.69 kB / 260 MB, free: 14.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01005, allocations: 0 / 260 MB, free: 14.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.112e-05/0.01011, allocations: 29.7 kB / 260 MB, free: 14.31 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01013, allocations: 8 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01014, allocations: 8.031 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01016, allocations: 3.938 kB / 260 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.01019, allocations: 7.984 kB / 260 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01019, allocations: 0 / 260 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.01021, allocations: 4 kB / 260 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.01022, allocations: 0 / 260 MB, free: 14.28 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 7.658e-05/0.0103, allocations: 156.6 kB / 260.2 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.0103, allocations: 0 / 260.2 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.01034, allocations: 7.094 kB / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01034, allocations: 4 kB / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01034, allocations: 0 / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01035, allocations: 4 kB / 260.2 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.01043, allocations: 112.6 kB / 260.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.01043, allocations: 4 kB / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.01044, allocations: 192 / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.01044, allocations: 0 / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.01044, allocations: 0 / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01045, allocations: 3.938 kB / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01045, allocations: 3.984 kB / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.721e-05/0.01051, allocations: 72.38 kB / 260.4 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.01052, allocations: 0 / 260.4 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.01053, allocations: 8.031 kB / 260.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-06/0.01054, allocations: 3.938 kB / 260.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.01055, allocations: 0 / 260.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.01056, allocations: 0 / 260.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.0106, allocations: 131.2 kB / 260.5 MB, free: 13.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 260.5 MB, free: 13.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.01094, allocations: 135.5 kB / 260.7 MB, free: 13.58 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.001018/0.01196, allocations: 0.5159 MB / 261.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.01205, allocations: 15.69 kB / 261.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01205, allocations: 0 / 261.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.01206, allocations: 15.61 kB / 261.2 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.01218, allocations: 11.89 kB / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01273, allocations: 117.5 kB / 261.3 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.01277, allocations: 55.36 kB / 261.4 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.0128, allocations: 12.11 kB / 261.4 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.01282, allocations: 12.5 kB / 261.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01282, allocations: 0 / 261.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of Templates: time 0.004919/0.01774, allocations: 2.843 MB / 264.2 MB, free: 9.969 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 -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.9667097851634026]