Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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 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 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 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.CO2,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_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 116.4 kB / 17.09 MB, free: 5.988 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.001723/0.001723, allocations: 197.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2086/0.2086, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 73.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3812/0.491, allocations: 151.4 MB / 0.6364 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.4965, allocations: 4.702 MB / 0.641 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.4967, allocations: 0 / 0.641 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.497, allocations: 63.58 kB / 0.6411 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.5016, allocations: 1.547 MB / 0.6426 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.502, allocations: 146.7 kB / 0.6427 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.5027, allocations: 398.1 kB / 0.6431 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.5028, allocations: 9.688 kB / 0.6431 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.5031, allocations: 167.3 kB / 0.6433 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.5034, allocations: 175.5 kB / 0.6434 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.5035, allocations: 8 kB / 0.6434 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.5061, allocations: 1.302 MB / 0.6447 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.5062, allocations: 47.75 kB / 0.6447 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5063, allocations: 115.4 kB / 0.6449 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.5085, allocations: 0.959 MB / 0.6458 GB, free: 9.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5085, allocations: 0 / 0.6458 GB, free: 9.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5085, allocations: 3.938 kB / 0.6458 GB, free: 9.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.5085, allocations: 4 kB / 0.6458 GB, free: 9.484 MB / 494.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.001543/0.5101, allocations: 0.714 MB / 0.6465 GB, free: 8.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5101, allocations: 15.89 kB / 0.6465 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.5175, allocations: 0.5901 MB / 0.6471 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.518, allocations: 264.2 kB / 0.6473 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5182, allocations: 127.3 kB / 0.6475 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5183, allocations: 24 kB / 0.6475 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.5195, allocations: 0.5556 MB / 0.648 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5195, allocations: 4 kB / 0.648 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.5196, allocations: 15.98 kB / 0.648 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.5196, allocations: 4 kB / 0.648 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5211, allocations: 0.626 MB / 0.6487 GB, free: 6.406 MB / 494.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.002059/0.5232, allocations: 1.642 MB / 0.6503 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.5235, allocations: 158.4 kB / 0.6504 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.5237, allocations: 77.69 kB / 0.6505 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.5256, allocations: 2.079 MB / 0.6525 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.5257, allocations: 38.56 kB / 0.6526 GB, free: 1.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 4.167e-06/0.5257, allocations: 3.984 kB / 0.6526 GB, free: 1.902 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.0009929/0.5267, allocations: 337.4 kB / 0.6529 GB, free: 1.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5267, allocations: 55.41 kB / 0.6529 GB, free: 1.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5269, allocations: 174.2 kB / 0.6531 GB, free: 1.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.5269, allocations: 29.7 kB / 0.6531 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.527, allocations: 187.3 kB / 0.6533 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.5271, allocations: 70.95 kB / 0.6534 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5272, allocations: 89.95 kB / 0.6535 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5273, allocations: 326.8 kB / 0.6538 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5275, allocations: 72.7 kB / 0.6538 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.5277, allocations: 267.8 kB / 0.6541 GB, free: 180 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.5282, allocations: 366.2 kB / 0.6544 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5282, allocations: 0 / 0.6544 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005952/0.5288, allocations: 369.1 kB / 0.6548 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5288, allocations: 12.19 kB / 0.6548 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5288, allocations: 8 kB / 0.6548 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5289, allocations: 12 kB / 0.6548 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.5293, allocations: 123.8 kB / 0.6549 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/0.5296, allocations: 0.6055 MB / 0.6555 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.5299, allocations: 39.53 kB / 0.6556 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.5299, allocations: 43.98 kB / 0.6556 GB, free: 14.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.5301, allocations: 161.4 kB / 0.6558 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.5302, allocations: 15.81 kB / 0.6558 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/0.5308, allocations: 320.7 kB / 0.6561 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5309, allocations: 7.938 kB / 0.6561 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5309, allocations: 0 / 0.6561 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5309, allocations: 0 / 0.6561 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.5315, allocations: 0.5258 MB / 0.6566 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5316, allocations: 4.969 kB / 0.6566 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.5318, allocations: 55.97 kB / 0.6567 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5318, allocations: 0 / 0.6567 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5318, allocations: 15.98 kB / 0.6567 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000283/0.5321, allocations: 0.5898 MB / 0.6573 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5321, allocations: 8.781 kB / 0.6573 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.5325, allocations: 275.6 kB / 0.6575 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.5326, allocations: 108.9 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.5326, allocations: 11.92 kB / 0.6577 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5329, allocations: 16 kB / 0.6577 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.5329, allocations: 15.92 kB / 0.6577 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.533, allocations: 20.86 kB / 0.6577 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001062/0.5331, allocations: 135 kB / 0.6578 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5331, allocations: 0 / 0.6578 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006846/0.5338, allocations: 203.9 kB / 0.658 GB, free: 11.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007752/0.5346, allocations: 353.5 kB / 0.6584 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.5351, allocations: 227.6 kB / 0.6586 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5351, allocations: 1.875 kB / 0.6586 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.5353, allocations: 83.83 kB / 0.6587 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.5359, allocations: 72.02 kB / 0.6587 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.5391, allocations: 1.988 MB / 0.6607 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5394, allocations: 0.7207 MB / 0.6614 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5396, allocations: 63.39 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5396, allocations: 0 / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of Templates: time 0.009503/0.5491, allocations: 5.867 MB / 0.6672 GB, free: 2.434 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches