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.001288/0.001288, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001457/0.001457, allocations: 209.8 kB / 23.74 MB, free: 4.445 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.459/1.459, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.2138/0.2138, allocations: 44.26 MB / 331.1 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 180] 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.003144/0.003144, allocations: 75.89 kB / 468.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1317, allocations: 61.03 MB / 0.5174 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3936/0.5253, allocations: 130.2 MB / 0.6445 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006306/0.5316, allocations: 4.241 MB / 0.6487 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.5318, allocations: 0 / 0.6487 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.5322, allocations: 59.61 kB / 0.6487 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.5369, allocations: 1.563 MB / 0.6503 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.5372, allocations: 135.8 kB / 0.6504 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.5379, allocations: 398.1 kB / 0.6508 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.538, allocations: 9.812 kB / 0.6508 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.5383, allocations: 183.2 kB / 0.651 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.5386, allocations: 171.5 kB / 0.6511 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.5386, allocations: 8 kB / 0.6511 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.5412, allocations: 1.15 MB / 0.6523 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.5413, allocations: 47.77 kB / 0.6523 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.5414, allocations: 91.64 kB / 0.6524 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.543, allocations: 0.9659 MB / 0.6533 GB, free: 6.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.543, allocations: 4 kB / 0.6533 GB, free: 6.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.543, allocations: 0 / 0.6533 GB, free: 6.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.543, allocations: 0 / 0.6533 GB, free: 6.773 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.001443/0.5445, allocations: 0.6487 MB / 0.654 GB, free: 6.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5445, allocations: 12.03 kB / 0.654 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/0.5522, allocations: 0.5941 MB / 0.6546 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.5528, allocations: 202.4 kB / 0.6548 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.553, allocations: 234 kB / 0.655 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.5531, allocations: 19.06 kB / 0.655 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5544, allocations: 0.7383 MB / 0.6557 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5544, allocations: 3.938 kB / 0.6557 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.5545, allocations: 12 kB / 0.6557 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.5545, allocations: 8 kB / 0.6557 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.556, allocations: 0.6182 MB / 0.6563 GB, free: 3.516 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.002219/0.5582, allocations: 1.42 MB / 0.6577 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.5586, allocations: 150.5 kB / 0.6579 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5587, allocations: 72.77 kB / 0.6579 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.5602, allocations: 0.6996 MB / 0.6586 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5603, allocations: 34.56 kB / 0.6587 GB, free: 1.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.5603, allocations: 0 / 0.6587 GB, free: 1.02 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.001037/0.5613, allocations: 340.9 kB / 0.659 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5614, allocations: 59.41 kB / 0.659 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.5616, allocations: 190.2 kB / 0.6592 GB, free: 428 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.5616, allocations: 29.7 kB / 0.6593 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.5618, allocations: 191.8 kB / 0.6594 GB, free: 196 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.689e-05/0.5618, allocations: 75.31 kB / 0.6595 GB, free: 120 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.562, allocations: 86.02 kB / 0.6596 GB, free: 28 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.5622, allocations: 330.8 kB / 0.6599 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.5623, allocations: 72.64 kB / 0.66 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.5627, allocations: 263.8 kB / 0.6602 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.5633, allocations: 366.2 kB / 0.6606 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5633, allocations: 0 / 0.6606 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006639/0.564, allocations: 369.6 kB / 0.6609 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.564, allocations: 8.938 kB / 0.6609 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.564, allocations: 8 kB / 0.6609 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.564, allocations: 12 kB / 0.661 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.5644, allocations: 127.8 kB / 0.6611 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004528/0.5649, allocations: 0.6055 MB / 0.6617 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.5651, allocations: 39.73 kB / 0.6617 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.5652, allocations: 40 kB / 0.6617 GB, free: 13.59 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.0001786/0.5654, allocations: 149.5 kB / 0.6619 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.5654, allocations: 15.91 kB / 0.6619 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.5661, allocations: 326.2 kB / 0.6622 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5661, allocations: 3.938 kB / 0.6622 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5661, allocations: 5.562 kB / 0.6622 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5661, allocations: 3.984 kB / 0.6622 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.5669, allocations: 466.1 kB / 0.6627 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5669, allocations: 8.094 kB / 0.6627 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5671, allocations: 59.91 kB / 0.6627 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/0.5671, allocations: 7.984 kB / 0.6627 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5671, allocations: 4 kB / 0.6627 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003953/0.5675, allocations: 0.5861 MB / 0.6633 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5675, allocations: 0 / 0.6633 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.5679, allocations: 292 kB / 0.6636 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.568, allocations: 27.88 kB / 0.6636 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.5681, allocations: 15.97 kB / 0.6636 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.5683, allocations: 14 kB / 0.6637 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.5683, allocations: 24 kB / 0.6637 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.5684, allocations: 19.92 kB / 0.6637 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001378/0.5685, allocations: 143.6 kB / 0.6638 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5685, allocations: 0 / 0.6638 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007166/0.5692, allocations: 199.5 kB / 0.664 GB, free: 11.13 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.0008258/0.5701, allocations: 343.3 kB / 0.6643 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.5706, allocations: 223.5 kB / 0.6646 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.5706, allocations: 4 kB / 0.6646 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.5708, allocations: 73.45 kB / 0.6646 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.5714, allocations: 79.75 kB / 0.6647 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.5748, allocations: 1.998 MB / 0.6667 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.5749, allocations: 108.5 kB / 0.6668 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.5751, allocations: 63.41 kB / 0.6668 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.5751, allocations: 0 / 0.6668 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.01038/0.5855, allocations: 5.999 MB / 0.6727 GB, free: 2.195 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/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) [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: 8.810877347830683]