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.001488/0.001488, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.86 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.437, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008714/0.4458, allocations: 4.606 MB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007696/0.4535, allocations: 4.005 MB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.4539, allocations: 1.5 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.4545, allocations: 52.05 kB / 0.5395 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.4585, allocations: 0.732 MB / 0.5402 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.4592, allocations: 135.2 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.4608, allocations: 374 kB / 0.5407 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4609, allocations: 14.02 kB / 0.5407 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007088/0.4616, allocations: 145.6 kB / 0.5408 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.4624, allocations: 143.2 kB / 0.541 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4625, allocations: 7.5 kB / 0.541 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.4649, allocations: 429 kB / 0.5414 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.4651, allocations: 47.25 kB / 0.5414 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.4653, allocations: 109.1 kB / 0.5415 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4666, allocations: 469.6 kB / 0.542 GB, free: 5.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4666, allocations: 1.125 kB / 0.542 GB, free: 5.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4666, allocations: 0 / 0.542 GB, free: 5.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.4666, allocations: 0 / 0.542 GB, free: 5.039 MB / 398.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.001513/0.4682, allocations: 0.6005 MB / 0.5426 GB, free: 4.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4682, allocations: 13.12 kB / 0.5426 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.4684, allocations: 24.72 kB / 0.5426 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.4689, allocations: 233.1 kB / 0.5428 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.469, allocations: 123.1 kB / 0.5429 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.4691, allocations: 22.56 kB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.4699, allocations: 326.6 kB / 0.5433 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4699, allocations: 1.344 kB / 0.5433 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.47, allocations: 14.95 kB / 0.5433 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.47, allocations: 10.75 kB / 0.5433 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4712, allocations: 0.7386 MB / 0.544 GB, free: 3.52 MB / 398.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.001695/0.4729, allocations: 1.301 MB / 0.5453 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.4733, allocations: 161.1 kB / 0.5454 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4735, allocations: 89.77 kB / 0.5455 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003372/0.4769, allocations: 2.81 MB / 0.5483 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.477, allocations: 35.91 kB / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.477, allocations: 0 / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003644/0.4773, allocations: 115.7 kB / 0.5484 GB, free: 14.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4774, allocations: 52.44 kB / 0.5485 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4776, allocations: 215.4 kB / 0.5487 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.4777, allocations: 30.61 kB / 0.5487 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.4779, allocations: 229.5 kB / 0.5489 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.4779, allocations: 38.73 kB / 0.549 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.4781, allocations: 86.25 kB / 0.549 GB, free: 14.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4783, allocations: 327 kB / 0.5494 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.4784, allocations: 49.19 kB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.4787, allocations: 348.7 kB / 0.5497 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.4793, allocations: 448.6 kB / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4793, allocations: 4 kB / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005946/0.4799, allocations: 381.7 kB / 0.5505 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4799, allocations: 12 kB / 0.5505 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.4799, allocations: 8 kB / 0.5506 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.48, allocations: 19.94 kB / 0.5506 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4802, allocations: 103.8 kB / 0.5507 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.4802, allocations: 23.92 kB / 0.5507 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.4805, allocations: 47.44 kB / 0.5507 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.4805, allocations: 32 kB / 0.5508 GB, free: 12.34 MB / 414.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.0001507/0.4807, allocations: 153.7 kB / 0.5509 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4807, allocations: 19.81 kB / 0.5509 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.4811, allocations: 140.5 kB / 0.5511 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4811, allocations: 11.94 kB / 0.5511 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4811, allocations: 0 / 0.5511 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4811, allocations: 0 / 0.5511 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.4816, allocations: 408.8 kB / 0.5515 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4816, allocations: 0 / 0.5515 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.4817, allocations: 15.98 kB / 0.5515 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4817, allocations: 0 / 0.5515 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4817, allocations: 4.094 kB / 0.5515 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4817, allocations: 4 kB / 0.5515 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4817, allocations: 96 / 0.5515 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.482, allocations: 209.7 kB / 0.5517 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.4821, allocations: 96.83 kB / 0.5518 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4821, allocations: 15.88 kB / 0.5518 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4823, allocations: 7.984 kB / 0.5518 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.4823, allocations: 7.984 kB / 0.5518 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.4824, allocations: 11.98 kB / 0.5518 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.4825, allocations: 148.5 kB / 0.552 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4825, allocations: 0 / 0.552 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.483, allocations: 95.98 kB / 0.5521 GB, free: 10.88 MB / 414.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.0003148/0.4834, allocations: 163.1 kB / 0.5522 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.4837, allocations: 174.4 kB / 0.5524 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4837, allocations: 0 / 0.5524 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.4837, allocations: 31.92 kB / 0.5524 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4842, allocations: 36.34 kB / 0.5524 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4853, allocations: 0.531 MB / 0.553 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4856, allocations: 0.7245 MB / 0.5537 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.4858, allocations: 47.28 kB / 0.5537 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4859, allocations: 31.42 kB / 0.5537 GB, free: 9.078 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4859, allocations: 3.938 kB / 0.5538 GB, free: 9.074 MB / 414.1 MB Notification: Performance of Templates: time 0.007496/0.4934, allocations: 3.175 MB / 0.5569 GB, free: 5.934 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches