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.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.001961/0.001961, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002862/0.002862, allocations: 216.8 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2527/0.2527, allocations: 44.25 MB / 330.3 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 76.47 kB / 468 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1483, allocations: 61.04 MB / 0.5167 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4563/0.6047, allocations: 130.2 MB / 0.6438 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.611, allocations: 4.236 MB / 0.648 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.6111, allocations: 0 / 0.648 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.6115, allocations: 63.59 kB / 0.648 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.6161, allocations: 1.557 MB / 0.6495 GB, free: 9.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.6164, allocations: 141.1 kB / 0.6497 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.6171, allocations: 398.1 kB / 0.65 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.6171, allocations: 9.812 kB / 0.6501 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.6174, allocations: 187.2 kB / 0.6502 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.6177, allocations: 163.5 kB / 0.6504 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.6178, allocations: 8 kB / 0.6504 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.6202, allocations: 1.154 MB / 0.6515 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.6203, allocations: 47.77 kB / 0.6516 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.6205, allocations: 95.58 kB / 0.6517 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.622, allocations: 0.9574 MB / 0.6526 GB, free: 6.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.622, allocations: 4 kB / 0.6526 GB, free: 6.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.622, allocations: 0 / 0.6526 GB, free: 6.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.622, allocations: 0 / 0.6526 GB, free: 6.758 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.00136/0.6233, allocations: 0.6487 MB / 0.6532 GB, free: 6.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6234, allocations: 12.03 kB / 0.6532 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007739/0.6311, allocations: 0.5941 MB / 0.6538 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.6317, allocations: 206.4 kB / 0.654 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.632, allocations: 230.1 kB / 0.6542 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.26e-05/0.6321, allocations: 19.98 kB / 0.6543 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.6334, allocations: 0.7421 MB / 0.655 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6334, allocations: 0 / 0.655 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.6335, allocations: 12 kB / 0.655 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.6335, allocations: 8 kB / 0.655 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.635, allocations: 0.6221 MB / 0.6556 GB, free: 3.492 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.002289/0.6373, allocations: 1.424 MB / 0.657 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.6377, allocations: 146.5 kB / 0.6571 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6379, allocations: 72.81 kB / 0.6572 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.6394, allocations: 0.6995 MB / 0.6579 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6394, allocations: 38.56 kB / 0.6579 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.6394, allocations: 0 / 0.6579 GB, free: 0.9922 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.001046/0.6405, allocations: 340 kB / 0.6583 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6405, allocations: 59.41 kB / 0.6583 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.6407, allocations: 194.2 kB / 0.6585 GB, free: 396 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.6407, allocations: 29.7 kB / 0.6585 GB, free: 360 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6409, allocations: 183.9 kB / 0.6587 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.6409, allocations: 79.3 kB / 0.6588 GB, free: 92 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.6411, allocations: 86.02 kB / 0.6589 GB, free: 0 / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.6412, allocations: 330.8 kB / 0.6592 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6414, allocations: 68.7 kB / 0.6592 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.6417, allocations: 263.8 kB / 0.6595 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.6422, allocations: 374.1 kB / 0.6598 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6422, allocations: 0 / 0.6598 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006404/0.6429, allocations: 361.4 kB / 0.6602 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6429, allocations: 11.98 kB / 0.6602 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6429, allocations: 10.98 kB / 0.6602 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6429, allocations: 8 kB / 0.6602 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.6434, allocations: 127.8 kB / 0.6603 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004955/0.6439, allocations: 0.6055 MB / 0.6609 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.6441, allocations: 40.48 kB / 0.661 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.6442, allocations: 40 kB / 0.661 GB, free: 13.57 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.000182/0.6444, allocations: 149.5 kB / 0.6612 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.6444, allocations: 15.91 kB / 0.6612 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.6451, allocations: 327.9 kB / 0.6615 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6451, allocations: 0 / 0.6615 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.6451, allocations: 7.922 kB / 0.6615 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6451, allocations: 0 / 0.6615 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.6458, allocations: 474 kB / 0.6619 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6458, allocations: 3.938 kB / 0.6619 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.6461, allocations: 68.05 kB / 0.662 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.6461, allocations: 4 kB / 0.662 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.6461, allocations: 7.438 kB / 0.662 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004078/0.6465, allocations: 0.5899 MB / 0.6626 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6465, allocations: 0 / 0.6626 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.6469, allocations: 284.3 kB / 0.6629 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.647, allocations: 27.88 kB / 0.6629 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.647, allocations: 11.89 kB / 0.6629 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.6473, allocations: 16.08 kB / 0.6629 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.6473, allocations: 23.86 kB / 0.6629 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.6473, allocations: 15.98 kB / 0.663 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001327/0.6475, allocations: 139.7 kB / 0.6631 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6475, allocations: 0 / 0.6631 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007078/0.6482, allocations: 199.5 kB / 0.6633 GB, free: 11.11 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.0008348/0.649, allocations: 346.2 kB / 0.6636 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.6496, allocations: 220.2 kB / 0.6638 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6496, allocations: 3.938 kB / 0.6638 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.6498, allocations: 81.33 kB / 0.6639 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.6504, allocations: 72.16 kB / 0.664 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.654, allocations: 1.972 MB / 0.6659 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.6541, allocations: 112.5 kB / 0.666 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003908/0.6545, allocations: 102.1 kB / 0.6661 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6546, allocations: 43.42 kB / 0.6661 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6546, allocations: 0 / 0.6661 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of Templates: time 0.0131/0.6677, allocations: 6.976 MB / 0.673 GB, free: 1.168 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.32096322439611]