Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 110.5 kB / 21.17 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 214.7 kB / 24.46 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.514/1.514, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3608, allocations: 53.33 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.009143/0.3699, allocations: 4.597 MB / 436.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.3724, allocations: 1.818 MB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.3724, allocations: 0 / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3728, allocations: 43.69 kB / 438.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.3732, allocations: 127.2 kB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.374, allocations: 246.5 kB / 438.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.3744, allocations: 294.8 kB / 439.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.3745, allocations: 17.06 kB / 439.2 MB, free: 228 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.3748, allocations: 131.5 kB / 439.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3749, allocations: 87.61 kB / 439.4 MB, free: 8 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.375, allocations: 8 kB / 439.4 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.3752, allocations: 99.92 kB / 439.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.3753, allocations: 47.81 kB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.3755, allocations: 71.72 kB / 439.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.3759, allocations: 228.8 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3759, allocations: 0 / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3759, allocations: 4 kB / 439.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3759, allocations: 0 / 439.8 MB, free: 15.56 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.001368/0.3772, allocations: 0.4911 MB / 440.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.3773, allocations: 8.031 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.3775, allocations: 20.89 kB / 440.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.3779, allocations: 208.2 kB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3779, allocations: 8.656 kB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.378, allocations: 16.38 kB / 440.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.3784, allocations: 221.5 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3785, allocations: 0 / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3785, allocations: 11.98 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3785, allocations: 4 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.3789, allocations: 148.3 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3805, allocations: 0.9481 MB / 441.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.3809, allocations: 142.7 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3811, allocations: 48.83 kB / 442.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/0.3817, allocations: 0.5071 MB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.3818, allocations: 42.56 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.3818, allocations: 0 / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002903/0.3847, allocations: 0.7734 MB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3848, allocations: 51.41 kB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3849, allocations: 161.8 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.385, allocations: 33.7 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3851, allocations: 144.2 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.3852, allocations: 79.31 kB / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3853, allocations: 57.7 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3855, allocations: 322.8 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.3857, allocations: 83.94 kB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.3861, allocations: 198 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.3867, allocations: 297.4 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3867, allocations: 0 / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007389/0.3874, allocations: 318.5 kB / 445.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3875, allocations: 11.94 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3875, allocations: 4 kB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.3875, allocations: 7.938 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.3879, allocations: 80.25 kB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.3879, allocations: 12 kB / 445.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3882, allocations: 19.98 kB / 445.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3882, allocations: 12 kB / 445.3 MB, free: 9.664 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.0001749/0.3884, allocations: 137.7 kB / 445.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.3885, allocations: 19.84 kB / 445.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.3892, allocations: 238.7 kB / 445.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3892, allocations: 7.984 kB / 445.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3892, allocations: 0 / 445.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3892, allocations: 3.984 kB / 445.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3906, allocations: 0.5954 MB / 446.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3906, allocations: 0 / 446.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.3909, allocations: 56.02 kB / 446.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3909, allocations: 4 kB / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3909, allocations: 8 kB / 446.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3909, allocations: 4 kB / 446.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3909, allocations: 3.938 kB / 446.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.3918, allocations: 412.9 kB / 446.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3919, allocations: 105 kB / 446.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.392, allocations: 4 kB / 446.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3922, allocations: 19.98 kB / 446.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.3922, allocations: 19.92 kB / 446.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3923, allocations: 8 kB / 446.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3924, allocations: 107.2 kB / 447 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3924, allocations: 3.938 kB / 447 MB, free: 7.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.3928, allocations: 63.94 kB / 447 MB, free: 7.734 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.0002505/0.393, allocations: 139.1 kB / 447.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006188/0.3936, allocations: 208.3 kB / 447.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3936, allocations: 0 / 447.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3939, allocations: 89.08 kB / 447.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3943, allocations: 48.33 kB / 447.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3955, allocations: 483.7 kB / 448 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3959, allocations: 0.7207 MB / 448.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.3961, allocations: 45.88 kB / 448.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.3962, allocations: 23.42 kB / 448.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3962, allocations: 0 / 448.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of Templates: time 0.007058/0.4032, allocations: 2.805 MB / 451.6 MB, free: 3.137 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.756491420790553]