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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009794/0.0009795, allocations: 100.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3947/0.3947, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3712, allocations: 62.01 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00485/0.3761, allocations: 4.641 MB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.3794, allocations: 4.064 MB / 0.5236 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.3795, allocations: 0 / 0.5236 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3798, allocations: 52.59 kB / 0.5237 GB, free: 31.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.3814, allocations: 0.6513 MB / 0.5243 GB, free: 31.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3817, allocations: 132.5 kB / 0.5245 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.3821, allocations: 445.2 kB / 0.5249 GB, free: 30.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.3822, allocations: 17.92 kB / 0.5249 GB, free: 30.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3823, allocations: 139.2 kB / 0.525 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3825, allocations: 150.2 kB / 0.5252 GB, free: 30.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3826, allocations: 5.688 kB / 0.5252 GB, free: 30.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.3834, allocations: 448 kB / 0.5256 GB, free: 30.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.3834, allocations: 41.2 kB / 0.5257 GB, free: 30.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.3835, allocations: 107.2 kB / 0.5258 GB, free: 30.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.3841, allocations: 471.9 kB / 0.5262 GB, free: 30.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3841, allocations: 0 / 0.5262 GB, free: 30.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3841, allocations: 0 / 0.5262 GB, free: 30.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3841, allocations: 0 / 0.5262 GB, free: 30.4 MB / 378.7 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.0009596/0.3851, allocations: 0.6024 MB / 0.5268 GB, free: 29.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3852, allocations: 8.312 kB / 0.5268 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.3853, allocations: 23 kB / 0.5268 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3855, allocations: 232.5 kB / 0.527 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.3856, allocations: 123.2 kB / 0.5272 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3856, allocations: 24.56 kB / 0.5272 GB, free: 29.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3861, allocations: 331.9 kB / 0.5275 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3861, allocations: 0 / 0.5275 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3861, allocations: 9.75 kB / 0.5275 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.3861, allocations: 9.875 kB / 0.5275 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3868, allocations: 0.7323 MB / 0.5282 GB, free: 29.21 MB / 378.7 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.000984/0.3878, allocations: 1.309 MB / 0.5295 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.3881, allocations: 153 kB / 0.5297 GB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3882, allocations: 90.06 kB / 0.5297 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.3899, allocations: 2.814 MB / 0.5325 GB, free: 24.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.3899, allocations: 30.56 kB / 0.5325 GB, free: 24.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.3899, allocations: 2.875 kB / 0.5325 GB, free: 24.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002194/0.3901, allocations: 118.9 kB / 0.5326 GB, free: 24.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3901, allocations: 54.12 kB / 0.5327 GB, free: 24.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3903, allocations: 217.5 kB / 0.5329 GB, free: 24.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3903, allocations: 32.45 kB / 0.5329 GB, free: 24.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3904, allocations: 218.1 kB / 0.5331 GB, free: 24.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3904, allocations: 44.67 kB / 0.5332 GB, free: 24.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.3905, allocations: 90.47 kB / 0.5333 GB, free: 24.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.3906, allocations: 324.8 kB / 0.5336 GB, free: 24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.3906, allocations: 51.25 kB / 0.5336 GB, free: 23.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3908, allocations: 337.7 kB / 0.5339 GB, free: 23.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.3911, allocations: 449.6 kB / 0.5344 GB, free: 23.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3911, allocations: 6.594 kB / 0.5344 GB, free: 23.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004375/0.3915, allocations: 375 kB / 0.5347 GB, free: 22.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3915, allocations: 14.5 kB / 0.5348 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3916, allocations: 11 kB / 0.5348 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3916, allocations: 18.12 kB / 0.5348 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3918, allocations: 103.5 kB / 0.5349 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.3918, allocations: 25.66 kB / 0.5349 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.392, allocations: 55.78 kB / 0.535 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3921, allocations: 27.12 kB / 0.535 GB, free: 22.84 MB / 378.7 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 8.236e-05/0.3922, allocations: 155.9 kB / 0.5351 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3922, allocations: 20.62 kB / 0.5351 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3924, allocations: 137.9 kB / 0.5353 GB, free: 22.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3924, allocations: 10.78 kB / 0.5353 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3925, allocations: 0 / 0.5353 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3925, allocations: 3.422 kB / 0.5353 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.3928, allocations: 410.8 kB / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3928, allocations: 0 / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.3929, allocations: 14.28 kB / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3929, allocations: 2.656 kB / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3929, allocations: 8 kB / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3929, allocations: 2.906 kB / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3929, allocations: 0 / 0.5357 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3932, allocations: 0.7878 MB / 0.5365 GB, free: 21.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3933, allocations: 101.6 kB / 0.5366 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3933, allocations: 6.719 kB / 0.5366 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3934, allocations: 2.719 kB / 0.5366 GB, free: 21.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.3935, allocations: 16.5 kB / 0.5366 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3935, allocations: 2.625 kB / 0.5366 GB, free: 21.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.3936, allocations: 154.4 kB / 0.5368 GB, free: 21.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3936, allocations: 0 / 0.5368 GB, free: 21.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.3941, allocations: 94.44 kB / 0.5368 GB, free: 21.19 MB / 378.7 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.0002935/0.3944, allocations: 157.2 kB / 0.537 GB, free: 21.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3946, allocations: 169.5 kB / 0.5372 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3947, allocations: 6.719 kB / 0.5372 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.3947, allocations: 18 kB / 0.5372 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3951, allocations: 53.92 kB / 0.5372 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.3959, allocations: 0.7286 MB / 0.5379 GB, free: 20.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3961, allocations: 0.7302 MB / 0.5387 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.3963, allocations: 59.06 kB / 0.5387 GB, free: 19.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.3963, allocations: 23.06 kB / 0.5387 GB, free: 19.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3963, allocations: 0 / 0.5387 GB, free: 19.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005825/0.4021, allocations: 3.067 MB / 0.5417 GB, free: 19.38 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches