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.001453/0.001453, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.09071, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00541/0.09616, allocations: 4.548 MB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.09798, allocations: 1.81 MB / 365.3 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.09805, allocations: 7.938 kB / 365.3 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.09828, allocations: 35.75 kB / 365.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.09858, allocations: 127.2 kB / 365.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.09916, allocations: 246.8 kB / 365.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.0995, allocations: 294.9 kB / 365.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.09955, allocations: 13.02 kB / 366 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.09977, allocations: 131.6 kB / 366.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.09991, allocations: 83.61 kB / 366.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.09994, allocations: 12 kB / 366.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.1002, allocations: 91.94 kB / 366.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.1003, allocations: 51.83 kB / 366.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.1004, allocations: 75.64 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1007, allocations: 207.4 kB / 366.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1007, allocations: 4 kB / 366.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1007, allocations: 3.938 kB / 366.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1007, allocations: 0 / 366.6 MB, free: 5.609 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.00089/0.1016, allocations: 495.2 kB / 367.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1016, allocations: 12.03 kB / 367.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1018, allocations: 20.83 kB / 367.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1021, allocations: 208.1 kB / 367.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1021, allocations: 12.66 kB / 367.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1021, allocations: 12.38 kB / 367.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1026, allocations: 221.6 kB / 367.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1026, allocations: 0 / 367.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1026, allocations: 8 kB / 367.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1026, allocations: 4 kB / 367.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.103, allocations: 143.8 kB / 367.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1042, allocations: 0.9401 MB / 368.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.1046, allocations: 162.6 kB / 368.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1048, allocations: 52.83 kB / 368.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.1053, allocations: 0.5071 MB / 369.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1054, allocations: 34.56 kB / 369.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1054, allocations: 0 / 369.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002448/0.1078, allocations: 0.7685 MB / 370.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1079, allocations: 59.41 kB / 370.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.108, allocations: 158.3 kB / 370.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.108, allocations: 29.7 kB / 370.4 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1081, allocations: 135.8 kB / 370.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.1082, allocations: 78.98 kB / 370.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.1083, allocations: 61.59 kB / 370.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1084, allocations: 322.8 kB / 371 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.1086, allocations: 91.69 kB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.1089, allocations: 192.4 kB / 371.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.1095, allocations: 297 kB / 371.6 MB, free: 188 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1095, allocations: 0 / 371.6 MB, free: 188 kB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.1458/0.2553, allocations: 313.8 kB / 371.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2554, allocations: 7.656 kB / 371.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2554, allocations: 4.281 kB / 371.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2554, allocations: 5.25 kB / 371.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.2558, allocations: 85.33 kB / 372 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2558, allocations: 8.359 kB / 372 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.2561, allocations: 21.64 kB / 372 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.2561, allocations: 13.05 kB / 372 MB, free: 20.68 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.000105/0.2563, allocations: 142.2 kB / 372.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.2563, allocations: 14.05 kB / 372.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/0.257, allocations: 239.2 kB / 372.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.257, allocations: 5.797 kB / 372.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.257, allocations: 1.375 kB / 372.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.257, allocations: 2.609 kB / 372.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2582, allocations: 0.6048 MB / 373 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2582, allocations: 2.688 kB / 373 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.2585, allocations: 47.56 kB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2585, allocations: 3.594 kB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2586, allocations: 9.516 kB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2586, allocations: 5.188 kB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2586, allocations: 5.328 kB / 373.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.2593, allocations: 408.1 kB / 373.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.2594, allocations: 104.8 kB / 373.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2595, allocations: 8.062 kB / 373.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.2597, allocations: 14.38 kB / 373.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.2597, allocations: 21.42 kB / 373.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.2598, allocations: 9.406 kB / 373.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.2598, allocations: 113.5 kB / 373.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2598, allocations: 0 / 373.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.2602, allocations: 63.61 kB / 373.8 MB, free: 19.86 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.0001958/0.2604, allocations: 133.3 kB / 373.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005647/0.261, allocations: 220.4 kB / 374.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.261, allocations: 0 / 374.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.2613, allocations: 91.61 kB / 374.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2616, allocations: 43.53 kB / 374.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.2626, allocations: 484 kB / 374.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2627, allocations: 0.7138 MB / 375.5 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.2629, allocations: 48.94 kB / 375.5 MB, free: 18.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.263, allocations: 26.75 kB / 375.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.263, allocations: 0 / 375.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of Templates: time 0.005868/0.2689, allocations: 2.681 MB / 378.2 MB, free: 18.63 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 -s gbode -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