Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001832/0.001832, allocations: 110.2 kB / 20.89 MB, free: 0.9648 MB / 14.72 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.001993/0.001993, allocations: 194.4 kB / 24.13 MB, free: 4.457 MB / 14.72 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.308/1.308, allocations: 207.6 MB / 234.8 MB, free: 11.01 MB / 190.1 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.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_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 55.91 kB / 346.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2139, allocations: 49.12 MB / 396 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004884/0.2188, allocations: 4.528 MB / 400.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2204, allocations: 1.836 MB / 402.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.2205, allocations: 1 kB / 402.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.2208, allocations: 43.78 kB / 402.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.2211, allocations: 121.7 kB / 402.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.2217, allocations: 256.2 kB / 402.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.2221, allocations: 285.1 kB / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.2221, allocations: 7.688 kB / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.2224, allocations: 135.5 kB / 403.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2225, allocations: 86.28 kB / 403.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2225, allocations: 8.75 kB / 403.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.2228, allocations: 93.42 kB / 403.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.2229, allocations: 43.5 kB / 403.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.223, allocations: 76.62 kB / 403.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2233, allocations: 215.1 kB / 403.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2233, allocations: 4 kB / 403.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2233, allocations: 0 / 403.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2233, allocations: 0 / 403.8 MB, free: 4.57 MB / 318.1 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.0008678/0.2242, allocations: 495.7 kB / 404.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2242, allocations: 9.188 kB / 404.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.2244, allocations: 18.05 kB / 404.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2246, allocations: 214.4 kB / 404.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2247, allocations: 10.03 kB / 404.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.2247, allocations: 17.5 kB / 404.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.2251, allocations: 215.5 kB / 404.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2251, allocations: 1.031 kB / 404.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2251, allocations: 7.375 kB / 404.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2251, allocations: 3.344 kB / 404.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.2255, allocations: 152.6 kB / 404.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2266, allocations: 0.947 MB / 405.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.227, allocations: 142.2 kB / 406 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2271, allocations: 56.72 kB / 406 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/0.2276, allocations: 0.509 MB / 406.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.2276, allocations: 32.44 kB / 406.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2276, allocations: 0 / 406.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002423/0.23, allocations: 0.7749 MB / 407.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.23, allocations: 53.78 kB / 407.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.2301, allocations: 147.3 kB / 407.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2301, allocations: 30.8 kB / 407.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2302, allocations: 152.3 kB / 407.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.2302, allocations: 68.44 kB / 407.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.2303, allocations: 66.58 kB / 407.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2304, allocations: 326.5 kB / 408.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2306, allocations: 82.77 kB / 408.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2309, allocations: 184.5 kB / 408.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.2314, allocations: 303.9 kB / 408.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2314, allocations: 5.375 kB / 408.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006621/0.2321, allocations: 317.2 kB / 409 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2321, allocations: 6 kB / 409 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2321, allocations: 5.094 kB / 409 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2321, allocations: 5.688 kB / 409 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2325, allocations: 89.44 kB / 409.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.2325, allocations: 7.203 kB / 409.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.2327, allocations: 16 kB / 409.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2327, allocations: 21.3 kB / 409.2 MB, free: 492 kB / 318.1 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 8.61e-05/0.2328, allocations: 138.9 kB / 409.3 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.2329, allocations: 16.25 kB / 409.3 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.2335, allocations: 239.4 kB / 409.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2335, allocations: 5.922 kB / 409.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2335, allocations: 0 / 409.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.2336, allocations: 93.09 kB / 409.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2336, allocations: 6.266 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2338, allocations: 15.02 kB / 409.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.2339, allocations: 12.77 kB / 409.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008377/0.2347, allocations: 313 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009553/0.2356, allocations: 477.3 kB / 410.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002575/0.2359, allocations: 82.17 kB / 410.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.236, allocations: 112 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.236, allocations: 0 / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.2368, allocations: 276.3 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008649/0.2377, allocations: 0.8228 MB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Templates: time 0.00706/0.2448, allocations: 3.329 MB / 415.1 MB, free: 13.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.111595627036877]