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.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.001851/0.001851, allocations: 83.94 kB / 22 MB, free: 5.184 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.002293/0.002293, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.312/1.312, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.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.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_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.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.001897/0.001897, allocations: 55.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.196, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005963/0.202, allocations: 4.201 MB / 352.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.204, allocations: 1.631 MB / 354.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.204, allocations: 7.938 kB / 354.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.2043, allocations: 39.75 kB / 354.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.2046, allocations: 123.2 kB / 354.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.2053, allocations: 255.2 kB / 354.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.2056, allocations: 290.9 kB / 355 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.2057, allocations: 5.312 kB / 355 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.206, allocations: 139.5 kB / 355.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2061, allocations: 79.72 kB / 355.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.2061, allocations: 12 kB / 355.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.2064, allocations: 95.88 kB / 355.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.2065, allocations: 35.84 kB / 355.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2066, allocations: 67.77 kB / 355.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.2069, allocations: 217.4 kB / 355.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2069, allocations: 0 / 355.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2069, allocations: 0 / 355.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2069, allocations: 4 kB / 355.7 MB, free: 8.324 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.0009629/0.2079, allocations: 417.9 kB / 356.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2079, allocations: 11.98 kB / 356.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.2081, allocations: 24.88 kB / 356.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.2084, allocations: 146.3 kB / 356.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2084, allocations: 12.66 kB / 356.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.2084, allocations: 12.38 kB / 356.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.209, allocations: 379 kB / 356.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.209, allocations: 11.94 kB / 356.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.209, allocations: 4 kB / 356.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.209, allocations: 4 kB / 356.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.2094, allocations: 143.8 kB / 356.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2108, allocations: 0.8407 MB / 357.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.2112, allocations: 146.8 kB / 357.8 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2114, allocations: 52.77 kB / 357.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.2119, allocations: 340.1 kB / 358.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2119, allocations: 30.56 kB / 358.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2119, allocations: 0 / 358.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002743/0.2146, allocations: 0.6927 MB / 358.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2147, allocations: 59.41 kB / 359 MB, free: 4.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2148, allocations: 162.2 kB / 359.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2149, allocations: 33.64 kB / 359.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.215, allocations: 140.1 kB / 359.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.2151, allocations: 83.3 kB / 359.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2152, allocations: 61.64 kB / 359.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2153, allocations: 322.8 kB / 359.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.2156, allocations: 87.94 kB / 359.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.216, allocations: 190 kB / 360 MB, free: 3.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.2166, allocations: 301.4 kB / 360.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2166, allocations: 0 / 360.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007845/0.2174, allocations: 317.2 kB / 360.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2174, allocations: 11.98 kB / 360.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2174, allocations: 4 kB / 360.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2175, allocations: 4 kB / 360.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2179, allocations: 83.89 kB / 360.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2179, allocations: 7.938 kB / 360.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.2181, allocations: 20.27 kB / 360.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.2181, allocations: 16 kB / 360.8 MB, free: 2.84 MB / 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 0.0001405/0.2183, allocations: 137.7 kB / 360.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2183, allocations: 15.91 kB / 360.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.2191, allocations: 238.5 kB / 361.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2191, allocations: 7.938 kB / 361.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2191, allocations: 4 kB / 361.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2191, allocations: 0 / 361.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.2205, allocations: 0.5249 MB / 361.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2205, allocations: 8.031 kB / 361.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.2208, allocations: 47.95 kB / 361.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2208, allocations: 3.938 kB / 361.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2208, allocations: 8 kB / 361.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2208, allocations: 4 kB / 361.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2208, allocations: 0 / 361.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.2218, allocations: 412 kB / 362.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.2218, allocations: 11.98 kB / 362.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.2218, allocations: 3.938 kB / 362.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2221, allocations: 15.98 kB / 362.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.2221, allocations: 19.91 kB / 362.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.2221, allocations: 12.05 kB / 362.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.2222, allocations: 119.1 kB / 362.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2222, allocations: 0 / 362.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.2226, allocations: 59.94 kB / 362.4 MB, free: 1.117 MB / 318.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.0002186/0.2228, allocations: 131.1 kB / 362.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.2235, allocations: 212.2 kB / 362.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2235, allocations: 0 / 362.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.2237, allocations: 89.06 kB / 362.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.2241, allocations: 43.83 kB / 362.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2252, allocations: 468.9 kB / 363.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2253, allocations: 107.1 kB / 363.4 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.2256, allocations: 57.8 kB / 363.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.2256, allocations: 24.48 kB / 363.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2256, allocations: 0 / 363.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.006749/0.2324, allocations: 2.706 MB / 366.2 MB, free: 13.22 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.150732690002769]