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.001569/0.001569, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001555/0.001555, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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 0.001746/0.001746, allocations: 43.94 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3736, allocations: 53.38 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006294/0.3799, allocations: 4.271 MB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3821, allocations: 1.615 MB / 437.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.3822, allocations: 0 / 437.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.3825, allocations: 39.75 kB / 437.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.3829, allocations: 131.2 kB / 437.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.3836, allocations: 257.5 kB / 437.9 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.384, allocations: 298.8 kB / 438.2 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.3841, allocations: 9.266 kB / 438.2 MB, free: 52 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.3844, allocations: 135.8 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3846, allocations: 87.61 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3846, allocations: 8 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.3848, allocations: 95.75 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.3849, allocations: 39.89 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.385, allocations: 71.7 kB / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3854, allocations: 225.5 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3854, allocations: 0 / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3854, allocations: 0 / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3854, allocations: 0 / 438.8 MB, free: 15.41 MB / 350.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.001054/0.3864, allocations: 429.8 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3865, allocations: 8.031 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.3867, allocations: 20.88 kB / 439.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.387, allocations: 150.3 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.387, allocations: 12.66 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.3871, allocations: 16.38 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.3877, allocations: 375.8 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.3877, allocations: 7.922 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3877, allocations: 8 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3877, allocations: 4 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.3881, allocations: 148.6 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3895, allocations: 0.8446 MB / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.3899, allocations: 142.8 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3901, allocations: 52.77 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.3906, allocations: 324.2 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.3906, allocations: 38.56 kB / 441.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.3906, allocations: 4 kB / 441.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002763/0.3934, allocations: 0.7011 MB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3934, allocations: 55.41 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3936, allocations: 156 kB / 442.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3936, allocations: 37.64 kB / 442.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3938, allocations: 148 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.3938, allocations: 75.34 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3939, allocations: 65.66 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3941, allocations: 326.8 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3944, allocations: 87.94 kB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.3947, allocations: 186.7 kB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.3953, allocations: 300.6 kB / 443.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3953, allocations: 0 / 443.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007928/0.3961, allocations: 321.1 kB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3962, allocations: 7.984 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3962, allocations: 4 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3962, allocations: 4 kB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.3966, allocations: 88.27 kB / 443.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3966, allocations: 7.938 kB / 443.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3969, allocations: 15.98 kB / 443.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.3969, allocations: 19.98 kB / 443.9 MB, free: 9.914 MB / 350.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 0.0001509/0.3971, allocations: 141.7 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.3971, allocations: 15.84 kB / 444.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.3978, allocations: 242.5 kB / 444.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3978, allocations: 4 kB / 444.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3979, allocations: 0 / 444.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3979, allocations: 0 / 444.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3993, allocations: 0.5275 MB / 444.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3993, allocations: 0 / 444.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.3996, allocations: 47.95 kB / 444.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3996, allocations: 7.938 kB / 444.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3996, allocations: 8 kB / 444.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3996, allocations: 3.938 kB / 444.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3996, allocations: 3.938 kB / 444.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/0.4006, allocations: 417.6 kB / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.4006, allocations: 35.86 kB / 445.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4007, allocations: 3.938 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.401, allocations: 20.05 kB / 445.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.401, allocations: 23.91 kB / 445.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.401, allocations: 4 kB / 445.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.4011, allocations: 114.9 kB / 445.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4011, allocations: 0 / 445.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.4015, allocations: 63.94 kB / 445.6 MB, free: 8.168 MB / 350.1 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.0002122/0.4017, allocations: 127.1 kB / 445.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.4024, allocations: 204.5 kB / 445.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4024, allocations: 0 / 445.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.4026, allocations: 91.94 kB / 446 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.4031, allocations: 39.77 kB / 446 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4042, allocations: 497.7 kB / 446.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4044, allocations: 99.27 kB / 446.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.4046, allocations: 45.89 kB / 446.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4047, allocations: 23.42 kB / 446.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4047, allocations: 0 / 446.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of Templates: time 0.00712/0.4118, allocations: 2.969 MB / 449.7 MB, free: 4.07 MB / 350.1 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.593568145763129]