Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 116.9 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 186.9 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 358.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 49.43 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006343/0.1177, allocations: 4.475 MB / 412.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1202, allocations: 1.822 MB / 414.4 MB, free: 500 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1204, allocations: 0 / 414.4 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1207, allocations: 39.73 kB / 414.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.1213, allocations: 127.2 kB / 414.5 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.1221, allocations: 242.7 kB / 414.8 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.1226, allocations: 282.9 kB / 415.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.1227, allocations: 13.12 kB / 415.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.1231, allocations: 135.5 kB / 415.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1233, allocations: 79.75 kB / 415.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1233, allocations: 8 kB / 415.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.1237, allocations: 95.88 kB / 415.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.1238, allocations: 39.88 kB / 415.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1239, allocations: 79.66 kB / 415.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1243, allocations: 219.2 kB / 415.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1243, allocations: 4 kB / 415.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1243, allocations: 0 / 415.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1243, allocations: 0 / 415.7 MB, free: 15.15 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.001015/0.1254, allocations: 490.9 kB / 416.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1254, allocations: 12.03 kB / 416.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1256, allocations: 24.84 kB / 416.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1259, allocations: 208.2 kB / 416.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.126, allocations: 12.66 kB / 416.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.126, allocations: 20.33 kB / 416.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.1265, allocations: 224.7 kB / 416.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1265, allocations: 0 / 416.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1265, allocations: 8 kB / 416.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1265, allocations: 4 kB / 416.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.1269, allocations: 147.8 kB / 416.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1283, allocations: 0.9402 MB / 417.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.1287, allocations: 169.3 kB / 417.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1289, allocations: 48.83 kB / 418 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.1295, allocations: 0.5032 MB / 418.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1295, allocations: 38.55 kB / 418.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1295, allocations: 0 / 418.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002605/0.1322, allocations: 0.7676 MB / 419.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1322, allocations: 59.34 kB / 419.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1324, allocations: 159.6 kB / 419.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1324, allocations: 25.7 kB / 419.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1325, allocations: 144.2 kB / 419.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.1326, allocations: 79.36 kB / 419.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1327, allocations: 57.7 kB / 419.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1329, allocations: 322.8 kB / 420.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.1331, allocations: 83.94 kB / 420.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.1335, allocations: 197.8 kB / 420.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.1341, allocations: 307.6 kB / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1341, allocations: 0 / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007285/0.1348, allocations: 314.8 kB / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1349, allocations: 8 kB / 421 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1349, allocations: 4 kB / 421 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1349, allocations: 4 kB / 421 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.1353, allocations: 84.34 kB / 421.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1353, allocations: 11.94 kB / 421.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1356, allocations: 15.98 kB / 421.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1356, allocations: 16 kB / 421.2 MB, free: 9.242 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.0001412/0.1357, allocations: 137.7 kB / 421.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.1358, allocations: 15.91 kB / 421.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.1365, allocations: 248.4 kB / 421.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1365, allocations: 4 kB / 421.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1365, allocations: 4 kB / 421.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1365, allocations: 3.984 kB / 421.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.1379, allocations: 0.5954 MB / 422.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1379, allocations: 0 / 422.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.1382, allocations: 60.02 kB / 422.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1383, allocations: 0 / 422.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1383, allocations: 8 kB / 422.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1383, allocations: 7.938 kB / 422.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1383, allocations: 0 / 422.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.1392, allocations: 411 kB / 422.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1393, allocations: 89.02 kB / 422.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1393, allocations: 7.938 kB / 422.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.1396, allocations: 16.05 kB / 422.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.1396, allocations: 11.98 kB / 422.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1396, allocations: 15.98 kB / 422.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.1397, allocations: 109.9 kB / 422.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 0 / 422.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.1401, allocations: 63.94 kB / 422.9 MB, free: 7.332 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.000261/0.1404, allocations: 135 kB / 423.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.141, allocations: 216.2 kB / 423.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.141, allocations: 0 / 423.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.1413, allocations: 95.81 kB / 423.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1417, allocations: 40.53 kB / 423.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1429, allocations: 0.4893 MB / 423.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1433, allocations: 0.7128 MB / 424.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1434, allocations: 27.42 kB / 424.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1434, allocations: 4 kB / 424.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of Templates: time 0.005537/0.149, allocations: 2.654 MB / 427.3 MB, free: 2.883 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.4295841860584915]