Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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: 84.34 kB / 20.96 MB, free: 3.445 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.001585/0.001585, allocations: 165.3 kB / 24.27 MB, free: 140 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.483/1.483, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.633e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006518/0.006544, allocations: 4.272 MB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.009085, allocations: 1.627 MB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.00914, allocations: 4 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.009381, allocations: 31.7 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.009746, allocations: 127.1 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.01044, allocations: 259.2 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.01085, allocations: 298.7 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.0109, allocations: 9.297 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.01126, allocations: 175.6 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.01139, allocations: 67.8 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.01142, allocations: 8 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.01166, allocations: 107.7 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.01174, allocations: 31.89 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.01185, allocations: 63.89 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.01225, allocations: 235.3 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.01225, allocations: 0 / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01225, allocations: 0 / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.01226, allocations: 0 / 279.6 MB, free: 10.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009999/0.01326, allocations: 417.8 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01329, allocations: 12.03 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.01353, allocations: 52.64 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.01383, allocations: 145.6 kB / 280.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.01385, allocations: 12.66 kB / 280.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.0139, allocations: 24.25 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.01447, allocations: 384.2 kB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01449, allocations: 192 / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.01452, allocations: 12.12 kB / 280.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01453, allocations: 4 kB / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.01493, allocations: 143.8 kB / 280.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01635, allocations: 0.8445 MB / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.0168, allocations: 142.8 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.01695, allocations: 48.83 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/0.01747, allocations: 328.2 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.01751, allocations: 30.56 kB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.01751, allocations: 0 / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.002784/0.02029, allocations: 0.7073 MB / 282.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.02034, allocations: 55.41 kB / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.02051, allocations: 162.3 kB / 283.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.02055, allocations: 33.7 kB / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.02067, allocations: 144.1 kB / 283.2 MB, free: 6.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.02074, allocations: 75.36 kB / 283.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02085, allocations: 53.7 kB / 283.4 MB, free: 6.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.02103, allocations: 338.8 kB / 283.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.0213, allocations: 75.95 kB / 283.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.02189, allocations: 197.4 kB / 284 MB, free: 5.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.02254, allocations: 304.8 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02255, allocations: 0 / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008117/0.02336, allocations: 329.3 kB / 284.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.02338, allocations: 10.81 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02339, allocations: 4 kB / 284.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.02341, allocations: 11.92 kB / 284.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.02383, allocations: 91.83 kB / 284.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.02384, allocations: 4.281 kB / 284.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.02407, allocations: 19.98 kB / 284.7 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.0241, allocations: 12 kB / 284.7 MB, free: 4.988 MB / 266.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 0.0001521/0.02426, allocations: 137.7 kB / 284.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.02433, allocations: 23.91 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.02506, allocations: 245.7 kB / 285.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.02507, allocations: 11.92 kB / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02507, allocations: 0 / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02508, allocations: 0 / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.02647, allocations: 0.5209 MB / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02647, allocations: 0 / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.0268, allocations: 55.89 kB / 285.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.0268, allocations: 4 kB / 285.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.02682, allocations: 4 kB / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02682, allocations: 0 / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02683, allocations: 0 / 285.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/0.0278, allocations: 419.2 kB / 286.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.02788, allocations: 31.91 kB / 286.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.02791, allocations: 4 kB / 286.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.02816, allocations: 11.98 kB / 286.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.0282, allocations: 24.03 kB / 286.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.02822, allocations: 7.984 kB / 286.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.02833, allocations: 121.6 kB / 286.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02833, allocations: 0 / 286.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.02873, allocations: 56 kB / 286.4 MB, free: 3.238 MB / 266.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.0002144/0.02894, allocations: 127 kB / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.02958, allocations: 211.6 kB / 286.7 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02959, allocations: 0.9375 kB / 286.7 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.02986, allocations: 99.86 kB / 286.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.03029, allocations: 47.81 kB / 286.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.03135, allocations: 438.1 kB / 287.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.03148, allocations: 95.28 kB / 287.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.0317, allocations: 49.92 kB / 287.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.0318, allocations: 24.48 kB / 287.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0318, allocations: 0 / 287.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Templates: time 0.09678/0.1286, allocations: 2.706 MB / 290.2 MB, free: 28.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.33398589596618]