Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 182.7 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 93.48 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5247/0.5247, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006387, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1281, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005785/0.1339, allocations: 3.47 MB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.1399, allocations: 3.469 MB / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1402, allocations: 0 / 497.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1405, allocations: 39.78 kB / 497.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.143, allocations: 0.5959 MB / 497.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.1436, allocations: 127.7 kB / 497.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.1442, allocations: 255.4 kB / 498.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.1443, allocations: 21.66 kB / 498.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1446, allocations: 123.6 kB / 498.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.1449, allocations: 131.6 kB / 498.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.145, allocations: 8 kB / 498.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.1465, allocations: 383.5 kB / 498.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1467, allocations: 43.86 kB / 498.9 MB, free: 2.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.1468, allocations: 65.58 kB / 498.9 MB, free: 2.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.1476, allocations: 287.6 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1476, allocations: 0 / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1476, allocations: 0 / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1477, allocations: 0 / 499.2 MB, free: 2.199 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.001446/0.1491, allocations: 0.5538 MB / 499.8 MB, free: 1.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1492, allocations: 8.031 kB / 499.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1494, allocations: 31.7 kB / 499.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1497, allocations: 218.8 kB / 0.4883 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.1499, allocations: 123.4 kB / 0.4884 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.15, allocations: 16 kB / 0.4884 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.1507, allocations: 331.6 kB / 0.4887 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1508, allocations: 0 / 0.4887 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.1508, allocations: 12 kB / 0.4887 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.1508, allocations: 11.94 kB / 0.4888 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1522, allocations: 0.7391 MB / 0.4895 GB, free: 32 kB / 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.3244/0.4766, allocations: 1.34 MB / 0.4908 GB, free: 42.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.4775, allocations: 159.8 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004954/0.4824, allocations: 2.863 MB / 0.4937 GB, free: 39.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4826, allocations: 36.48 kB / 0.4938 GB, free: 39.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.468e-06/0.4826, allocations: 1.625 kB / 0.4938 GB, free: 39.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006824/0.4833, allocations: 146.6 kB / 0.4939 GB, free: 39.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4833, allocations: 54.47 kB / 0.494 GB, free: 39.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.4837, allocations: 204.3 kB / 0.4942 GB, free: 39.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.4838, allocations: 29.83 kB / 0.4942 GB, free: 39.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.484, allocations: 270.7 kB / 0.4944 GB, free: 39.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.4841, allocations: 59.77 kB / 0.4945 GB, free: 39.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.4842, allocations: 10.78 kB / 0.4945 GB, free: 39.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4843, allocations: 331.2 kB / 0.4948 GB, free: 39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.4845, allocations: 47.64 kB / 0.4949 GB, free: 39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.485, allocations: 317.7 kB / 0.4952 GB, free: 38.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.4854, allocations: 101.7 kB / 0.4953 GB, free: 38.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.4855, allocations: 2.625 kB / 0.4953 GB, free: 38.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001461/0.4869, allocations: 372.6 kB / 0.4956 GB, free: 38.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.487, allocations: 12.67 kB / 0.4956 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.4871, allocations: 10.12 kB / 0.4957 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-05/0.4872, allocations: 17.06 kB / 0.4957 GB, free: 38.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.488, allocations: 95.25 kB / 0.4958 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-05/0.4881, allocations: 22.56 kB / 0.4958 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.4888, allocations: 56.62 kB / 0.4958 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.4889, allocations: 24.94 kB / 0.4959 GB, free: 38.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.4892, allocations: 164.1 kB / 0.496 GB, free: 38.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4893, allocations: 22.39 kB / 0.496 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.4902, allocations: 170.1 kB / 0.4962 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.4903, allocations: 1.906 kB / 0.4962 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.4903, allocations: 0 / 0.4962 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4903, allocations: 5.531 kB / 0.4962 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4915, allocations: 451.4 kB / 0.4966 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.4916, allocations: 1.719 kB / 0.4966 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.4918, allocations: 22.42 kB / 0.4967 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.4919, allocations: 2.094 kB / 0.4967 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.4919, allocations: 6.047 kB / 0.4967 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.4919, allocations: 1.906 kB / 0.4967 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.492, allocations: 2.062 kB / 0.4967 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.4924, allocations: 280.3 kB / 0.4969 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.4927, allocations: 114.4 kB / 0.4971 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.4928, allocations: 8.484 kB / 0.4971 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.4932, allocations: 8.891 kB / 0.4971 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.4933, allocations: 8.344 kB / 0.4971 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4933, allocations: 9.016 kB / 0.4971 GB, free: 37.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.4936, allocations: 149.2 kB / 0.4972 GB, free: 37.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4936, allocations: 0 / 0.4972 GB, free: 37.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001257/0.4949, allocations: 106.5 kB / 0.4973 GB, free: 37.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005167/0.4954, allocations: 172.7 kB / 0.4975 GB, free: 37.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.4962, allocations: 176.6 kB / 0.4977 GB, free: 37.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4963, allocations: 0 / 0.4977 GB, free: 37.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4964, allocations: 35.64 kB / 0.4977 GB, free: 37.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.4974, allocations: 47.05 kB / 0.4977 GB, free: 37.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4989, allocations: 0.5464 MB / 0.4983 GB, free: 37.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4993, allocations: 0.7289 MB / 0.499 GB, free: 36.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.4995, allocations: 34.28 kB / 0.499 GB, free: 36.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.883e-06/0.4995, allocations: 0 / 0.499 GB, free: 36.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01469/0.5143, allocations: 3.565 MB / 0.5025 GB, free: 35.93 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches