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.001881/0.001881, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002223/0.002223, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.193, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005785/0.1988, allocations: 4.282 MB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2008, allocations: 1.615 MB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.2008, allocations: 4 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.201, allocations: 27.77 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.2014, allocations: 131.2 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.202, allocations: 254.4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.2023, allocations: 290.8 kB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.2024, allocations: 25.25 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.2026, allocations: 127.7 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.2028, allocations: 83.58 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.2028, allocations: 12 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.203, allocations: 95.88 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.2031, allocations: 43.83 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.2032, allocations: 67.78 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2035, allocations: 220.9 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2035, allocations: 0 / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2035, allocations: 4 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2035, allocations: 4 kB / 439.6 MB, free: 15.45 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.0009923/0.2045, allocations: 417.8 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2046, allocations: 8.031 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2047, allocations: 20.89 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.205, allocations: 146.4 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.205, allocations: 20.59 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.2051, allocations: 12.38 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.2056, allocations: 383.8 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2056, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2057, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2057, allocations: 7.938 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.206, allocations: 152.5 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.2074, allocations: 0.8484 MB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.2078, allocations: 138.8 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.208, allocations: 52.83 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.2085, allocations: 336.1 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2085, allocations: 34.56 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.2085, allocations: 0 / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002813/0.2113, allocations: 0.7007 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2113, allocations: 55.41 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2115, allocations: 160 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2115, allocations: 29.7 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.2116, allocations: 144 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.2117, allocations: 75.42 kB / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2118, allocations: 65.64 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2119, allocations: 322.8 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2122, allocations: 87.88 kB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.2125, allocations: 194.7 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.2131, allocations: 289.5 kB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2131, allocations: 0 / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000794/0.2139, allocations: 328 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.214, allocations: 7.938 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.214, allocations: 4 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.214, allocations: 12 kB / 444.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.2144, allocations: 80.36 kB / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2144, allocations: 7.938 kB / 444.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.2147, allocations: 27.92 kB / 444.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2147, allocations: 12 kB / 444.7 MB, free: 9.953 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.0001349/0.2148, allocations: 137.7 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.2149, allocations: 19.84 kB / 444.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.2156, allocations: 249.3 kB / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2156, allocations: 0 / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2156, allocations: 0 / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/0.2157, allocations: 31.81 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.2157, allocations: 4 kB / 445.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.216, allocations: 15.98 kB / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.216, allocations: 7.984 kB / 445.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009007/0.2169, allocations: 316.8 kB / 445.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009674/0.2179, allocations: 482.4 kB / 445.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002496/0.2182, allocations: 82.03 kB / 446 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.2182, allocations: 110.9 kB / 446.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Backend: time 1.6e-07/0.2182, allocations: 0 / 446.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008031/0.2191, allocations: 278.7 kB / 446.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008564/0.2199, allocations: 0.8313 MB / 447.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of Templates: time 0.007388/0.2273, allocations: 3.577 MB / 450.8 MB, free: 3.777 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: 4.386330791996443]