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.001324/0.001324, allocations: 118.8 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.001282/0.001282, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4784, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007523/0.4859, allocations: 4.597 MB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.4912, allocations: 4.007 MB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.4914, allocations: 1.156 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.4918, allocations: 59.52 kB / 0.5395 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.494, allocations: 0.7264 MB / 0.5402 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.4944, allocations: 134.4 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.495, allocations: 378.8 kB / 0.5407 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.371e-05/0.4951, allocations: 18.19 kB / 0.5407 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.4953, allocations: 144.2 kB / 0.5408 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4956, allocations: 150.8 kB / 0.541 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.4956, allocations: 8.531 kB / 0.541 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.4968, allocations: 428.6 kB / 0.5414 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/0.497, allocations: 47.09 kB / 0.5415 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.4971, allocations: 105.3 kB / 0.5416 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.498, allocations: 464.4 kB / 0.542 GB, free: 5.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.498, allocations: 1.375 kB / 0.542 GB, free: 5.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.498, allocations: 0 / 0.542 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.4981, allocations: 4 kB / 0.542 GB, free: 5.027 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.001211/0.4993, allocations: 0.6015 MB / 0.5426 GB, free: 4.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4993, allocations: 8.969 kB / 0.5426 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.4995, allocations: 24.12 kB / 0.5426 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4999, allocations: 237 kB / 0.5428 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5, allocations: 123.7 kB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.5001, allocations: 22.56 kB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.5006, allocations: 327.1 kB / 0.5433 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5007, allocations: 3.938 kB / 0.5433 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.5007, allocations: 12.19 kB / 0.5433 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5007, allocations: 6.531 kB / 0.5433 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.5017, allocations: 0.7313 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.001419/0.5031, allocations: 1.309 MB / 0.5453 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.5035, allocations: 165.1 kB / 0.5455 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.5036, allocations: 86.67 kB / 0.5456 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.5061, allocations: 2.814 MB / 0.5483 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5062, allocations: 31.78 kB / 0.5483 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 3.226e-06/0.5062, allocations: 7.922 kB / 0.5483 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003425/0.5065, allocations: 119.8 kB / 0.5485 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.5066, allocations: 56.59 kB / 0.5485 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.5069, allocations: 216.4 kB / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.5069, allocations: 29.7 kB / 0.5487 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.5071, allocations: 227 kB / 0.549 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.5071, allocations: 46.14 kB / 0.549 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.5073, allocations: 82.48 kB / 0.5491 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5074, allocations: 328 kB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.5075, allocations: 51.97 kB / 0.5494 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.5078, allocations: 345.2 kB / 0.5498 GB, free: 13.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.5082, allocations: 447 kB / 0.5502 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5083, allocations: 4 kB / 0.5502 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005322/0.5088, allocations: 385.3 kB / 0.5506 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5088, allocations: 8 kB / 0.5506 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.5088, allocations: 12 kB / 0.5506 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.5089, allocations: 19.88 kB / 0.5506 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.5092, allocations: 99.83 kB / 0.5507 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.5092, allocations: 20.48 kB / 0.5507 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.5095, allocations: 67.48 kB / 0.5508 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.5095, allocations: 32 kB / 0.5508 GB, free: 12.28 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.0001633/0.5097, allocations: 141.7 kB / 0.551 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.5097, allocations: 19.91 kB / 0.551 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.5101, allocations: 148.5 kB / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5102, allocations: 3.938 kB / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5102, allocations: 0 / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5102, allocations: 0 / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.5108, allocations: 405 kB / 0.5515 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5108, allocations: 4.094 kB / 0.5515 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.5109, allocations: 19.92 kB / 0.5515 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5109, allocations: 4 kB / 0.5515 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5109, allocations: 4 kB / 0.5515 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5109, allocations: 0 / 0.5515 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5109, allocations: 4 kB / 0.5515 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.5111, allocations: 213.8 kB / 0.5517 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.5113, allocations: 93.02 kB / 0.5518 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.5113, allocations: 11.88 kB / 0.5518 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.5115, allocations: 8 kB / 0.5518 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.5115, allocations: 4 kB / 0.5519 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.5115, allocations: 7.984 kB / 0.5519 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.5117, allocations: 156.5 kB / 0.552 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.5117, allocations: 0 / 0.552 GB, free: 10.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.5123, allocations: 99.81 kB / 0.5521 GB, free: 10.83 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.0004135/0.5127, allocations: 155.1 kB / 0.5523 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.5131, allocations: 173.1 kB / 0.5524 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5131, allocations: 192 / 0.5524 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.5132, allocations: 23.92 kB / 0.5524 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.5137, allocations: 54.22 kB / 0.5525 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.5149, allocations: 0.5264 MB / 0.553 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.5154, allocations: 0.7285 MB / 0.5537 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.5156, allocations: 54.88 kB / 0.5538 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.5156, allocations: 23.42 kB / 0.5538 GB, free: 9.023 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5157, allocations: 4 kB / 0.5538 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Templates: time 0.008214/0.5239, allocations: 3.136 MB / 0.5569 GB, free: 5.91 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