Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001395/0.001395, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.001496/0.001496, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.342/1.342, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 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.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01755/0.2461, allocations: 14.57 MB / 363.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.2489, allocations: 1.784 MB / 364.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2491, allocations: 7.938 kB / 364.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.2497, allocations: 171 kB / 365.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.2504, allocations: 310.2 kB / 365.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.2511, allocations: 291.4 kB / 365.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.2521, allocations: 0.8524 MB / 366.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2523, allocations: 80.73 kB / 366.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.2533, allocations: 0.5253 MB / 367.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.2537, allocations: 266.9 kB / 367.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.2538, allocations: 28 kB / 367.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2539, allocations: 40 kB / 367.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.2541, allocations: 107.6 kB / 367.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.2543, allocations: 151.4 kB / 367.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.2548, allocations: 440.8 kB / 368.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2548, allocations: 0 / 368.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2548, allocations: 0 / 368.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2548, allocations: 7.875 kB / 368.1 MB, free: 11.86 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001011/0.2558, allocations: 0.5131 MB / 368.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2559, allocations: 15.98 kB / 368.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.2562, allocations: 48.73 kB / 368.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.2566, allocations: 222 kB / 368.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2566, allocations: 16.88 kB / 368.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.2567, allocations: 24.38 kB / 369 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.2573, allocations: 461.3 kB / 369.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2573, allocations: 4 kB / 369.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2573, allocations: 8 kB / 369.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2573, allocations: 11.98 kB / 369.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.2577, allocations: 193.8 kB / 369.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2593, allocations: 1.129 MB / 370.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.2596, allocations: 163 kB / 370.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2598, allocations: 84.78 kB / 371 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2598, allocations: 7.984 kB / 371 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2599, allocations: 38.56 kB / 371 MB, free: 8.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2599, allocations: 0 / 371 MB, free: 8.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002495/0.2624, allocations: 0.8492 MB / 371.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2624, allocations: 59.41 kB / 372 MB, free: 7.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.2626, allocations: 236 kB / 372.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2627, allocations: 33.7 kB / 372.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2628, allocations: 180.4 kB / 372.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.2629, allocations: 95.2 kB / 372.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.263, allocations: 65.66 kB / 372.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2631, allocations: 334.8 kB / 372.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2633, allocations: 83.97 kB / 373 MB, free: 6.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.2636, allocations: 178.9 kB / 373.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.2641, allocations: 290.9 kB / 373.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2641, allocations: 0 / 373.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007221/0.2648, allocations: 386.8 kB / 373.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2648, allocations: 7.984 kB / 373.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2648, allocations: 4 kB / 373.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.2651, allocations: 66.05 kB / 373.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.2654, allocations: 63.86 kB / 373.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.268, allocations: 2.626 MB / 376.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2682, allocations: 11.94 kB / 376.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.2682, allocations: 16 kB / 376.6 MB, free: 2.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.2684, allocations: 157.6 kB / 376.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.2684, allocations: 23.86 kB / 376.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.2685, allocations: 29.97 kB / 376.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2685, allocations: 11.92 kB / 376.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.2685, allocations: 4.062 kB / 376.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007084/0.2692, allocations: 0.5669 MB / 377.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2703, allocations: 0.5898 MB / 378 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2703, allocations: 0 / 378 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.2705, allocations: 43.92 kB / 378 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.2707, allocations: 60.77 kB / 378.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.2708, allocations: 4 kB / 378.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2721, allocations: 1.358 MB / 379.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.2721, allocations: 7.922 kB / 379.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.2728, allocations: 469.6 kB / 379.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.2729, allocations: 27.83 kB / 379.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.2729, allocations: 8 kB / 379.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2731, allocations: 0 / 379.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2731, allocations: 23.95 kB / 380 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.2732, allocations: 12 kB / 380 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.2733, allocations: 168.8 kB / 380.1 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2733, allocations: 0 / 380.1 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.2737, allocations: 84 kB / 380.2 MB, free: 14.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.2739, allocations: 103.2 kB / 380.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007991/0.2747, allocations: 470.5 kB / 380.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2747, allocations: 0 / 380.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.2751, allocations: 234.5 kB / 381 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.2759, allocations: 128.4 kB / 381.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2771, allocations: 0.6867 MB / 381.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2773, allocations: 159.1 kB / 382 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.2775, allocations: 46.94 kB / 382 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.2776, allocations: 24.5 kB / 382 MB, free: 12.99 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2776, allocations: 4 kB / 382 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01114/0.2887, allocations: 5.171 MB / 387.2 MB, free: 7.809 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.51310809305869]