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.001546/0.001546, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001725/0.001725, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001523/0.001523, allocations: 51.92 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.24, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006395/0.2464, allocations: 4.593 MB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2485, allocations: 1.818 MB / 438.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.2486, allocations: 3.938 kB / 438.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.2488, allocations: 35.75 kB / 438.8 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.2492, allocations: 135.2 kB / 439 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.2499, allocations: 254.8 kB / 439.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.2502, allocations: 298.8 kB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.2503, allocations: 13.25 kB / 439.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.2506, allocations: 135.6 kB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2507, allocations: 83.66 kB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2507, allocations: 8 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.251, allocations: 107.9 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.2511, allocations: 43.83 kB / 439.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.2512, allocations: 75.72 kB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.2515, allocations: 228.5 kB / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2515, allocations: 0 / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2515, allocations: 0 / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2515, allocations: 0 / 440.2 MB, free: 15.12 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.001028/0.2526, allocations: 417.8 kB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2526, allocations: 15.97 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.2528, allocations: 24.88 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.2531, allocations: 146.4 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2531, allocations: 8.656 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2532, allocations: 32.22 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.2536, allocations: 217.6 kB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2536, allocations: 4 kB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2537, allocations: 4 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2537, allocations: 4 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.254, allocations: 152.5 kB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2554, allocations: 0.8986 MB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.2558, allocations: 150.7 kB / 442.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2559, allocations: 48.83 kB / 442.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/0.2564, allocations: 336.1 kB / 442.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2565, allocations: 38.55 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.2565, allocations: 0 / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0025/0.259, allocations: 0.695 MB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.259, allocations: 55.41 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2592, allocations: 163.7 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2592, allocations: 25.7 kB / 443.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2593, allocations: 144.1 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.2594, allocations: 79.36 kB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2595, allocations: 57.7 kB / 443.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2596, allocations: 322.8 kB / 444.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2599, allocations: 91.88 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.2602, allocations: 194.7 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.2608, allocations: 293.4 kB / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2608, allocations: 4 kB / 444.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006942/0.2615, allocations: 322.7 kB / 445.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2615, allocations: 11.94 kB / 445.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2615, allocations: 4 kB / 445.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2615, allocations: 4.469 kB / 445.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.2619, allocations: 83.88 kB / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.2619, allocations: 15.92 kB / 445.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2621, allocations: 15.98 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2622, allocations: 16 kB / 445.2 MB, free: 9.742 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.0001477/0.2623, allocations: 133.7 kB / 445.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.2624, allocations: 19.84 kB / 445.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.263, allocations: 246.6 kB / 445.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2631, allocations: 4 kB / 445.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2631, allocations: 0 / 445.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2631, allocations: 7.922 kB / 445.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.2644, allocations: 0.5655 MB / 446.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2644, allocations: 0 / 446.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.2647, allocations: 52.09 kB / 446.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2647, allocations: 3.984 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2648, allocations: 8 kB / 446.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.2648, allocations: 7.938 kB / 446.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2648, allocations: 3.938 kB / 446.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.2656, allocations: 407.1 kB / 446.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.2657, allocations: 27.98 kB / 446.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2657, allocations: 11.98 kB / 446.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.266, allocations: 15.92 kB / 446.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.266, allocations: 15.92 kB / 446.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.266, allocations: 15.97 kB / 446.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.933e-05/0.2661, allocations: 107.3 kB / 446.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2661, allocations: 3.938 kB / 446.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.2665, allocations: 67.92 kB / 446.9 MB, free: 7.938 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.0002147/0.2667, allocations: 131.1 kB / 447 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.2674, allocations: 216.2 kB / 447.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2674, allocations: 0 / 447.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2676, allocations: 83.88 kB / 447.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.268, allocations: 50.89 kB / 447.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2692, allocations: 0.5014 MB / 447.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2695, allocations: 0.7129 MB / 448.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2697, allocations: 27.42 kB / 448.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2697, allocations: 0 / 448.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of Templates: time 0.005127/0.2748, allocations: 2.651 MB / 451.3 MB, free: 3.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/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: 6.988410613965243]