Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.22 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09403, allocations: 50.54 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005881/0.09995, allocations: 4.586 MB / 362 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.102, allocations: 1.814 MB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1021, allocations: 0 / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1024, allocations: 43.73 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.1029, allocations: 111.4 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.1035, allocations: 234.4 kB / 364.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.1039, allocations: 366.7 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.104, allocations: 17.08 kB / 364.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1043, allocations: 127.5 kB / 364.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1044, allocations: 83.67 kB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1045, allocations: 4 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1048, allocations: 99.86 kB / 364.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.1048, allocations: 39.88 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.1049, allocations: 67.67 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1052, allocations: 155.9 kB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1052, allocations: 8 kB / 365.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1052, allocations: 3.938 kB / 365.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1052, allocations: 0 / 365.2 MB, free: 6.715 MB / 302.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.001065/0.1063, allocations: 491.3 kB / 365.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000103/0.1064, allocations: 8.031 kB / 365.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1066, allocations: 20.84 kB / 365.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1068, allocations: 212.1 kB / 365.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1069, allocations: 8.656 kB / 365.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1069, allocations: 16.38 kB / 365.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1074, allocations: 217.5 kB / 366.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1074, allocations: 7.984 kB / 366.1 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1075, allocations: 8 kB / 366.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1075, allocations: 4 kB / 366.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.1079, allocations: 147.8 kB / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1092, allocations: 0.9479 MB / 367.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.1097, allocations: 158.6 kB / 367.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1098, allocations: 56.83 kB / 367.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/0.1104, allocations: 499.3 kB / 367.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1104, allocations: 42.56 kB / 368 MB, free: 3.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1104, allocations: 0 / 368 MB, free: 3.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00268/0.1131, allocations: 0.7552 MB / 368.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1132, allocations: 59.34 kB / 368.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1133, allocations: 161.8 kB / 368.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1134, allocations: 29.7 kB / 369 MB, free: 2.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.1135, allocations: 143.8 kB / 369.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.1135, allocations: 70.98 kB / 369.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.1136, allocations: 61.61 kB / 369.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1137, allocations: 326.8 kB / 369.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.114, allocations: 83.69 kB / 369.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.1143, allocations: 185.7 kB / 369.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.1149, allocations: 308.2 kB / 370.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1149, allocations: 0 / 370.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007236/0.1156, allocations: 318.5 kB / 370.4 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1157, allocations: 8 kB / 370.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1157, allocations: 4 kB / 370.4 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1157, allocations: 4 kB / 370.4 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.1161, allocations: 92.34 kB / 370.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1161, allocations: 11.94 kB / 370.5 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.1164, allocations: 15.98 kB / 370.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.1164, allocations: 16 kB / 370.6 MB, free: 0.8281 MB / 302.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.0001388/0.1166, allocations: 138.8 kB / 370.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.1166, allocations: 19.75 kB / 370.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/0.1173, allocations: 245.5 kB / 371 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1173, allocations: 7.938 kB / 371 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1174, allocations: 0 / 371 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1174, allocations: 7.969 kB / 371 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1662/0.2835, allocations: 0.5939 MB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2836, allocations: 0.9375 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.2839, allocations: 57.73 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.284, allocations: 2.75 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.284, allocations: 8.875 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.284, allocations: 1.906 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.284, allocations: 5.688 kB / 371.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.285, allocations: 399.7 kB / 372 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2851, allocations: 102.1 kB / 372.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.2852, allocations: 9.547 kB / 372.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.2854, allocations: 18.94 kB / 372.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.2855, allocations: 13.38 kB / 372.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.2855, allocations: 10.72 kB / 372.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.833e-05/0.2856, allocations: 110.4 kB / 372.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2856, allocations: 0 / 372.3 MB, free: 20.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.2861, allocations: 58.95 kB / 372.4 MB, free: 20.39 MB / 302.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.0003137/0.2864, allocations: 136.4 kB / 372.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006759/0.2871, allocations: 223.7 kB / 372.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2871, allocations: 0 / 372.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.2874, allocations: 92.92 kB / 372.8 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.2878, allocations: 39.09 kB / 372.8 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2889, allocations: 0.5551 MB / 373.4 MB, free: 19.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2891, allocations: 0.717 MB / 374.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2892, allocations: 31 kB / 374.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2893, allocations: 0 / 374.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of Templates: time 0.006411/0.2957, allocations: 2.623 MB / 376.8 MB, free: 19.1 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches