Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 76.48 kB / 9.93 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.001999, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006719/0.0006719, allocations: 144.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009344/0.001606, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9155/0.9155, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1141/1.03, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.194e-05, allocations: 2.312 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00375/0.003762, allocations: 4.602 MB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.005028, allocations: 1.821 MB / 246 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.005067, allocations: 0 / 246 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.005175, allocations: 43.64 kB / 246 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.005347, allocations: 127.1 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.005681, allocations: 251.3 kB / 246.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.005942, allocations: 298.7 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.005975, allocations: 5.969 kB / 246.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.006152, allocations: 183.5 kB / 246.8 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.006231, allocations: 67.8 kB / 246.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.006248, allocations: 8 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.006393, allocations: 103.7 kB / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.006436, allocations: 23.94 kB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.006489, allocations: 43.94 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.006692, allocations: 175.4 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.006705, allocations: 0 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006705, allocations: 0 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.006716, allocations: 0 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005615/0.007277, allocations: 0.4974 MB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.007303, allocations: 8.031 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.007419, allocations: 48.67 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.007549, allocations: 133.7 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.00756, allocations: 12.66 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.007583, allocations: 16.38 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.007798, allocations: 346.8 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007806, allocations: 4.188 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007823, allocations: 12.12 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.007829, allocations: 7.984 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.007919, allocations: 74.72 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.008538, allocations: 0.7443 MB / 249.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.008692, allocations: 149.2 kB / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.008724, allocations: 26.27 kB / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.008987, allocations: 330.4 kB / 249.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.009008, allocations: 34.56 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.00901, allocations: 0 / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001167/0.01018, allocations: 0.6177 MB / 250.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.0102, allocations: 55.41 kB / 250.3 MB, free: 8.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.01028, allocations: 173.2 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.0103, allocations: 29.7 kB / 250.5 MB, free: 7.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.01034, allocations: 144 kB / 250.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.01038, allocations: 75.36 kB / 250.8 MB, free: 7.656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.01044, allocations: 53.67 kB / 250.8 MB, free: 7.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.01051, allocations: 322.8 kB / 251.1 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.01055, allocations: 42.75 kB / 251.2 MB, free: 7.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.01064, allocations: 149.2 kB / 251.3 MB, free: 7.035 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01079, allocations: 218.3 kB / 251.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01079, allocations: 7.938 kB / 251.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001789/0.01097, allocations: 200.4 kB / 251.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01098, allocations: 8 kB / 251.7 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01098, allocations: 4 kB / 251.7 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.01099, allocations: 4 kB / 251.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.0112, allocations: 103.8 kB / 251.8 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.0112, allocations: 4 kB / 251.8 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.01128, allocations: 15.94 kB / 251.9 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.0113, allocations: 16.14 kB / 251.9 MB, free: 6.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.186e-05/0.01137, allocations: 136.5 kB / 252 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.0114, allocations: 15.98 kB / 252 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.01157, allocations: 153.1 kB / 252.2 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.01158, allocations: 4 kB / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01158, allocations: 0 / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01158, allocations: 0 / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.01201, allocations: 426 kB / 252.6 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01201, allocations: 4 kB / 252.6 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01215, allocations: 59.88 kB / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.01216, allocations: 11.91 kB / 252.7 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.01216, allocations: 11.92 kB / 252.7 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01218, allocations: 8 kB / 252.7 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01218, allocations: 0 / 252.7 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01218, allocations: 4.125 kB / 252.7 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01241, allocations: 329.9 kB / 253 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01243, allocations: 3.938 kB / 253 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.01251, allocations: 12 kB / 253 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.01253, allocations: 15.97 kB / 253.1 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01254, allocations: 7.984 kB / 253.1 MB, free: 5.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.142e-05/0.01256, allocations: 31.83 kB / 253.1 MB, free: 5.117 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01256, allocations: 4.031 kB / 253.1 MB, free: 5.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.01276, allocations: 63.94 kB / 253.2 MB, free: 5.051 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0001369/0.0129, allocations: 112.2 kB / 253.3 MB, free: 4.934 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.01306, allocations: 156.1 kB / 253.4 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.01307, allocations: 4 kB / 253.4 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.01313, allocations: 64.69 kB / 253.5 MB, free: 4.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01333, allocations: 65.14 kB / 253.5 MB, free: 4.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.01575, allocations: 391.7 kB / 253.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.0158, allocations: 80.78 kB / 254 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.01592, allocations: 41.89 kB / 254.1 MB, free: 4.086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.01606, allocations: 95.33 kB / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01606, allocations: 0 / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of Templates: time 0.004187/0.02025, allocations: 3.086 MB / 257.2 MB, free: 0.9336 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.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.408605173230171]