Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 115.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.001057/0.001057, allocations: 203.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.28/1.28, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005544/0.119, allocations: 4.594 MB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.123, allocations: 4.017 MB / 490.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.1231, allocations: 4 kB / 490.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1234, allocations: 59.58 kB / 490.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1249, allocations: 0.7227 MB / 490.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1252, allocations: 135.3 kB / 491 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.1256, allocations: 366.1 kB / 491.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.1257, allocations: 21.66 kB / 491.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1258, allocations: 139.5 kB / 491.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.126, allocations: 147.4 kB / 491.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1261, allocations: 8 kB / 491.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.1268, allocations: 431.5 kB / 492.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1269, allocations: 47.88 kB / 492.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.127, allocations: 103.5 kB / 492.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.1276, allocations: 466.8 kB / 492.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1276, allocations: 0 / 492.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1277, allocations: 4 kB / 492.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1277, allocations: 0 / 492.7 MB, free: 9.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001/0.1287, allocations: 0.5969 MB / 493.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1287, allocations: 8.031 kB / 493.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1289, allocations: 28.73 kB / 493.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1291, allocations: 224 kB / 493.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1293, allocations: 131.9 kB / 493.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1293, allocations: 24.38 kB / 493.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.1298, allocations: 323.6 kB / 494 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1298, allocations: 3.938 kB / 494 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1298, allocations: 15.94 kB / 494 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.1299, allocations: 4 kB / 494 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.1306, allocations: 0.7391 MB / 494.8 MB, free: 7.047 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.1319, allocations: 1.296 MB / 496.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.1322, allocations: 167.8 kB / 496.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1323, allocations: 89.41 kB / 496.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.1346, allocations: 2.806 MB / 499.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1347, allocations: 38.56 kB / 499.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1347, allocations: 0 / 499.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002842/0.135, allocations: 125.2 kB / 499.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.135, allocations: 55.34 kB / 499.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1352, allocations: 221.2 kB / 499.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1352, allocations: 25.7 kB / 499.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1354, allocations: 214.7 kB / 499.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1354, allocations: 51.38 kB / 499.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.1355, allocations: 89.88 kB / 499.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1356, allocations: 330.8 kB / 0.4885 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1357, allocations: 48.84 kB / 0.4886 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.136, allocations: 339.2 kB / 0.4889 GB, free: 328 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.1364, allocations: 444.5 kB / 0.4893 GB, free: 15.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.1364, allocations: 7.984 kB / 0.4893 GB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005259/0.137, allocations: 381.8 kB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.137, allocations: 12 kB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.137, allocations: 8.094 kB / 0.4897 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1371, allocations: 23.94 kB / 0.4897 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1373, allocations: 95.83 kB / 0.4898 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.1373, allocations: 23.92 kB / 0.4898 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1376, allocations: 47.44 kB / 0.4899 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1376, allocations: 28 kB / 0.4899 GB, free: 15.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001143/0.1377, allocations: 161.5 kB / 0.4901 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1378, allocations: 19.81 kB / 0.4901 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.138, allocations: 136.9 kB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.138, allocations: 7.938 kB / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.138, allocations: 0 / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1381, allocations: 3.984 kB / 0.4902 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1385, allocations: 412.9 kB / 0.4906 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1385, allocations: 0 / 0.4906 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.1386, allocations: 15.94 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1386, allocations: 0 / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1386, allocations: 4 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1386, allocations: 3.984 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1386, allocations: 0 / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1388, allocations: 209.9 kB / 0.4908 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.1389, allocations: 100.8 kB / 0.4909 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.1389, allocations: 4 kB / 0.4909 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1391, allocations: 4 kB / 0.4909 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1391, allocations: 19.92 kB / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1391, allocations: 4 kB / 0.491 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1392, allocations: 152.5 kB / 0.4911 GB, free: 13.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 0.4911 GB, free: 13.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.1397, allocations: 91.94 kB / 0.4912 GB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0002471/0.1399, allocations: 163.3 kB / 0.4914 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1402, allocations: 169.6 kB / 0.4915 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1402, allocations: 0.875 kB / 0.4915 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.1403, allocations: 24.06 kB / 0.4915 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1407, allocations: 51.48 kB / 0.4916 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.1417, allocations: 0.5346 MB / 0.4921 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.142, allocations: 0.7206 MB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1422, allocations: 54.92 kB / 0.4929 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1422, allocations: 23.44 kB / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1423, allocations: 0 / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005919/0.1482, allocations: 3.102 MB / 0.4959 GB, free: 8.789 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches