Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 114.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1943/0.1943, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.14 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3883, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006602/0.3949, allocations: 4.548 MB / 0.5234 GB, free: 356 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.4003, allocations: 4.008 MB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.4006, allocations: 1.25 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.4011, allocations: 49.28 kB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.4042, allocations: 0.7284 MB / 0.528 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.4046, allocations: 131.5 kB / 0.5282 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007547/0.4054, allocations: 375.1 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.4055, allocations: 9.938 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.4057, allocations: 148.3 kB / 0.5287 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.406, allocations: 144.4 kB / 0.5288 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.406, allocations: 6.875 kB / 0.5288 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.4076, allocations: 433.3 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.4077, allocations: 50.69 kB / 0.5293 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4078, allocations: 101.4 kB / 0.5294 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009821/0.4088, allocations: 468.3 kB / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4089, allocations: 1.469 kB / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4089, allocations: 0 / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.4089, allocations: 0 / 0.5298 GB, free: 12.01 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.001253/0.4101, allocations: 0.6091 MB / 0.5304 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4102, allocations: 8.812 kB / 0.5304 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4104, allocations: 29.3 kB / 0.5305 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.4108, allocations: 232.1 kB / 0.5307 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4109, allocations: 124.1 kB / 0.5308 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4109, allocations: 21.84 kB / 0.5308 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.4115, allocations: 327.3 kB / 0.5311 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4115, allocations: 0 / 0.5311 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.4115, allocations: 11.38 kB / 0.5311 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.4116, allocations: 6.969 kB / 0.5311 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009205/0.4125, allocations: 0.7402 MB / 0.5319 GB, free: 10.48 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.001506/0.414, allocations: 1.304 MB / 0.5331 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.4144, allocations: 165.6 kB / 0.5333 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4145, allocations: 85.86 kB / 0.5334 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002824/0.4174, allocations: 2.814 MB / 0.5361 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4174, allocations: 37.31 kB / 0.5362 GB, free: 5.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.4174, allocations: 0 / 0.5362 GB, free: 5.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003257/0.4178, allocations: 118.9 kB / 0.5363 GB, free: 5.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.4178, allocations: 52.5 kB / 0.5363 GB, free: 5.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4181, allocations: 218.7 kB / 0.5365 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4181, allocations: 27.17 kB / 0.5366 GB, free: 5.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4183, allocations: 238.5 kB / 0.5368 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.4183, allocations: 42.38 kB / 0.5368 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4184, allocations: 83.06 kB / 0.5369 GB, free: 5.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4186, allocations: 326.6 kB / 0.5372 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.4187, allocations: 48.59 kB / 0.5373 GB, free: 4.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.419, allocations: 348.1 kB / 0.5376 GB, free: 4.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.4194, allocations: 439.4 kB / 0.538 GB, free: 3.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4194, allocations: 6.844 kB / 0.538 GB, free: 3.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00054/0.42, allocations: 384.4 kB / 0.5384 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.42, allocations: 9.031 kB / 0.5384 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.42, allocations: 10.81 kB / 0.5384 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.4201, allocations: 17.34 kB / 0.5384 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.4203, allocations: 101.9 kB / 0.5385 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/0.4203, allocations: 25.98 kB / 0.5386 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.4206, allocations: 54 kB / 0.5386 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.4206, allocations: 32.52 kB / 0.5386 GB, free: 3.684 MB / 398.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.0001385/0.4208, allocations: 151.3 kB / 0.5388 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.4208, allocations: 26.11 kB / 0.5388 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4211, allocations: 149.3 kB / 0.5389 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4212, allocations: 5.562 kB / 0.539 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4212, allocations: 4 kB / 0.539 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4212, allocations: 0 / 0.539 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.4216, allocations: 407.8 kB / 0.5393 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4217, allocations: 1.25 kB / 0.5393 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.4217, allocations: 15.52 kB / 0.5394 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4217, allocations: 1.062 kB / 0.5394 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4217, allocations: 2.719 kB / 0.5394 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4218, allocations: 5.406 kB / 0.5394 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4218, allocations: 5.031 kB / 0.5394 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.422, allocations: 211.3 kB / 0.5396 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.4221, allocations: 95.42 kB / 0.5397 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4221, allocations: 14.06 kB / 0.5397 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4222, allocations: 7.406 kB / 0.5397 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.4223, allocations: 7.344 kB / 0.5397 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4223, allocations: 12.55 kB / 0.5397 GB, free: 2.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.4225, allocations: 151.6 kB / 0.5399 GB, free: 2.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4225, allocations: 1 kB / 0.5399 GB, free: 2.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.423, allocations: 93.11 kB / 0.5399 GB, free: 2.52 MB / 398.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.0003415/0.4233, allocations: 157.5 kB / 0.5401 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.4236, allocations: 162.5 kB / 0.5402 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4237, allocations: 5.5 kB / 0.5403 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.4237, allocations: 30.33 kB / 0.5403 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.4241, allocations: 50.66 kB / 0.5403 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009623/0.4251, allocations: 0.5446 MB / 0.5409 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4254, allocations: 0.7259 MB / 0.5416 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.4256, allocations: 51.36 kB / 0.5416 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4256, allocations: 26.64 kB / 0.5416 GB, free: 1.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4257, allocations: 0 / 0.5416 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Templates: time 0.006882/0.4325, allocations: 3.135 MB / 0.5447 GB, free: 15.55 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches