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.001741/0.001741, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00232/0.002321, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.86 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4496, 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.006427/0.4561, allocations: 4.607 MB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.4606, allocations: 4.002 MB / 0.5394 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4608, allocations: 1.156 kB / 0.5394 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.4611, allocations: 59.69 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.463, allocations: 0.7238 MB / 0.5402 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.4633, allocations: 135.7 kB / 0.5403 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.4639, allocations: 379 kB / 0.5407 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.4639, allocations: 13.8 kB / 0.5407 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.4641, allocations: 145.4 kB / 0.5408 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.4644, allocations: 147.5 kB / 0.541 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4644, allocations: 7.688 kB / 0.541 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.4653, allocations: 427.9 kB / 0.5414 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.4654, allocations: 43.39 kB / 0.5414 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4655, allocations: 110.5 kB / 0.5415 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.4662, allocations: 465.1 kB / 0.542 GB, free: 5.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4662, allocations: 0 / 0.542 GB, free: 5.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4662, allocations: 5.344 kB / 0.542 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4662, allocations: 0 / 0.542 GB, free: 5.031 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.001094/0.4673, allocations: 0.5923 MB / 0.5426 GB, free: 4.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4674, allocations: 13.53 kB / 0.5426 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.4675, allocations: 32.36 kB / 0.5426 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.4678, allocations: 236.9 kB / 0.5428 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.468, allocations: 119 kB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.468, allocations: 22.47 kB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.4685, allocations: 331.6 kB / 0.5433 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4686, allocations: 0 / 0.5433 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.4686, allocations: 11.56 kB / 0.5433 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.4686, allocations: 5.906 kB / 0.5433 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.4696, allocations: 0.7397 MB / 0.544 GB, free: 3.516 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.00136/0.4709, allocations: 1.304 MB / 0.5453 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.4713, allocations: 165.4 kB / 0.5455 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4714, allocations: 90.61 kB / 0.5455 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/0.4738, allocations: 2.805 MB / 0.5483 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4739, allocations: 32.78 kB / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.4739, allocations: 0 / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002939/0.4742, allocations: 123.2 kB / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.4742, allocations: 52.75 kB / 0.5485 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4744, allocations: 215.2 kB / 0.5487 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4745, allocations: 30.92 kB / 0.5487 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4746, allocations: 218 kB / 0.5489 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.4747, allocations: 50 kB / 0.549 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.4748, allocations: 82.7 kB / 0.5491 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4749, allocations: 335 kB / 0.5494 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.475, allocations: 49.5 kB / 0.5494 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.4753, allocations: 339.9 kB / 0.5497 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.4757, allocations: 450.1 kB / 0.5502 GB, free: 12.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4757, allocations: 0 / 0.5502 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000532/0.4763, allocations: 381.2 kB / 0.5505 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4763, allocations: 8 kB / 0.5505 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4763, allocations: 12 kB / 0.5506 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4763, allocations: 15.94 kB / 0.5506 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4766, allocations: 104.4 kB / 0.5507 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/0.4766, allocations: 15.94 kB / 0.5507 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.4769, allocations: 63.42 kB / 0.5507 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.4769, allocations: 31.98 kB / 0.5508 GB, free: 12.32 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.0001334/0.4771, allocations: 149.6 kB / 0.5509 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.4771, allocations: 15.81 kB / 0.5509 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.4774, allocations: 144.5 kB / 0.5511 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4774, allocations: 7.969 kB / 0.5511 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4774, allocations: 4 kB / 0.5511 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4774, allocations: 0 / 0.5511 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.4779, allocations: 404.8 kB / 0.5515 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4779, allocations: 8.031 kB / 0.5515 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.4779, allocations: 15.98 kB / 0.5515 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4779, allocations: 4 kB / 0.5515 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.478, allocations: 0 / 0.5515 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.478, allocations: 8.062 kB / 0.5515 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.478, allocations: 96 / 0.5515 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4782, allocations: 209.7 kB / 0.5517 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.4783, allocations: 100.8 kB / 0.5518 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4783, allocations: 7.938 kB / 0.5518 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4785, allocations: 11.92 kB / 0.5518 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.4785, allocations: 4 kB / 0.5518 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4785, allocations: 4 kB / 0.5518 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4787, allocations: 156.5 kB / 0.552 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4787, allocations: 4 kB / 0.552 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.4792, allocations: 95.98 kB / 0.5521 GB, free: 10.86 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.0002836/0.4795, allocations: 155.1 kB / 0.5522 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.4798, allocations: 172.8 kB / 0.5524 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4798, allocations: 0 / 0.5524 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.4798, allocations: 29.55 kB / 0.5524 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4803, allocations: 44.53 kB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.4812, allocations: 0.5385 MB / 0.553 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4816, allocations: 0.7206 MB / 0.5537 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.4818, allocations: 59.3 kB / 0.5537 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.4818, allocations: 27.44 kB / 0.5538 GB, free: 9.051 MB / 414.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4818, allocations: 0 / 0.5538 GB, free: 9.051 MB / 414.1 MB Notification: Performance of Templates: time 0.006807/0.4886, allocations: 3.138 MB / 0.5568 GB, free: 5.945 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