Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1948/0.1948, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.589e-05, allocations: 6.281 kB / 440.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3605/0.3606, allocations: 132 MB / 0.5587 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006282/0.3669, allocations: 4.752 MB / 0.5634 GB, free: 1.141 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.367, allocations: 4 kB / 0.5634 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.3672, allocations: 51.61 kB / 0.5634 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.3706, allocations: 1.363 MB / 0.5648 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.371, allocations: 146.7 kB / 0.5649 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.3715, allocations: 403.6 kB / 0.5653 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.3716, allocations: 9.797 kB / 0.5653 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3719, allocations: 227.3 kB / 0.5655 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.3723, allocations: 163.6 kB / 0.5657 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.3723, allocations: 12 kB / 0.5657 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3742, allocations: 0.9736 MB / 0.5666 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.3743, allocations: 43.77 kB / 0.5667 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3744, allocations: 83.81 kB / 0.5668 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3758, allocations: 0.9547 MB / 0.5677 GB, free: 12.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3758, allocations: 0 / 0.5677 GB, free: 12.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3758, allocations: 0 / 0.5677 GB, free: 12.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3758, allocations: 0 / 0.5677 GB, free: 12.73 MB / 478.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.001391/0.3772, allocations: 0.6216 MB / 0.5683 GB, free: 12.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3773, allocations: 11.98 kB / 0.5683 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008033/0.3853, allocations: 0.6456 MB / 0.5689 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3857, allocations: 209.4 kB / 0.5691 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.3859, allocations: 226.7 kB / 0.5694 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.386, allocations: 23.94 kB / 0.5694 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.3874, allocations: 0.7345 MB / 0.5701 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3874, allocations: 4 kB / 0.5701 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.3875, allocations: 15.94 kB / 0.5701 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3875, allocations: 7.984 kB / 0.5701 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.389, allocations: 0.6184 MB / 0.5707 GB, free: 9.438 MB / 478.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.002132/0.3912, allocations: 1.403 MB / 0.5721 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3916, allocations: 150.5 kB / 0.5722 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3917, allocations: 70.58 kB / 0.5723 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.3928, allocations: 479.2 kB / 0.5728 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3928, allocations: 42.5 kB / 0.5728 GB, free: 7.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.3928, allocations: 0 / 0.5728 GB, free: 7.191 MB / 478.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=19): time 0.001045/0.3939, allocations: 333.8 kB / 0.5731 GB, free: 6.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3939, allocations: 51.41 kB / 0.5732 GB, free: 6.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3941, allocations: 195.1 kB / 0.5734 GB, free: 6.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.3942, allocations: 33.7 kB / 0.5734 GB, free: 6.566 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3943, allocations: 187.8 kB / 0.5736 GB, free: 6.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.3944, allocations: 79.36 kB / 0.5737 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3945, allocations: 90.02 kB / 0.5737 GB, free: 6.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3947, allocations: 330.8 kB / 0.5741 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3948, allocations: 68.66 kB / 0.5741 GB, free: 5.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.3951, allocations: 264 kB / 0.5744 GB, free: 5.457 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.3956, allocations: 366.1 kB / 0.5747 GB, free: 5.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3956, allocations: 0 / 0.5747 GB, free: 5.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006791/0.3963, allocations: 369.3 kB / 0.5751 GB, free: 4.637 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3963, allocations: 8 kB / 0.5751 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3964, allocations: 11.98 kB / 0.5751 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3964, allocations: 8 kB / 0.5751 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.3968, allocations: 127.8 kB / 0.5752 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004311/0.3972, allocations: 0.602 MB / 0.5758 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3975, allocations: 51.55 kB / 0.5759 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.3976, allocations: 44 kB / 0.5759 GB, free: 3.766 MB / 478.1 MB 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.000159/0.3977, allocations: 142.4 kB / 0.576 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.3978, allocations: 23.86 kB / 0.5761 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.3987, allocations: 455.5 kB / 0.5765 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3987, allocations: 0 / 0.5765 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3987, allocations: 4 kB / 0.5765 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3987, allocations: 0.875 kB / 0.5765 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/0.3995, allocations: 0.4934 MB / 0.577 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3996, allocations: 4 kB / 0.577 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3998, allocations: 64.03 kB / 0.577 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3998, allocations: 8 kB / 0.5771 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3998, allocations: 11.98 kB / 0.5771 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003845/0.4002, allocations: 0.596 MB / 0.5776 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4002, allocations: 4.031 kB / 0.5776 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.4006, allocations: 307.6 kB / 0.5779 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.4007, allocations: 27.89 kB / 0.578 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.4008, allocations: 7.984 kB / 0.578 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.401, allocations: 16.09 kB / 0.578 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4011, allocations: 19.91 kB / 0.578 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4011, allocations: 19.98 kB / 0.578 GB, free: 1.445 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.4012, allocations: 137.7 kB / 0.5782 GB, free: 1.312 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4012, allocations: 0 / 0.5782 GB, free: 1.312 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006777/0.4019, allocations: 167.6 kB / 0.5783 GB, free: 1.148 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.000567/0.4025, allocations: 286.7 kB / 0.5786 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.403, allocations: 221.3 kB / 0.5788 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.403, allocations: 0 / 0.5788 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4032, allocations: 79.91 kB / 0.5789 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.4038, allocations: 70.39 kB / 0.5789 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.4055, allocations: 0.8549 MB / 0.5798 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4056, allocations: 112.6 kB / 0.5799 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.4063, allocations: 389.7 kB / 0.5803 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4064, allocations: 64.28 kB / 0.5803 GB, free: 15.02 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4064, allocations: 0 / 0.5803 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Templates: time 0.01163/0.4181, allocations: 5.769 MB / 0.586 GB, free: 9.312 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138985734432936]