Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001382/0.001382, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001491/0.001491, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.476/1.476, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 34.27 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.43e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3576/0.3577, allocations: 132 MB / 0.5613 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.3656, allocations: 4.748 MB / 0.5659 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.3659, allocations: 0 / 0.5659 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3663, allocations: 59.59 kB / 0.566 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.371, allocations: 1.365 MB / 0.5673 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.3715, allocations: 150.4 kB / 0.5674 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009046/0.3724, allocations: 405.9 kB / 0.5678 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.3725, allocations: 9.797 kB / 0.5678 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/0.3731, allocations: 223.4 kB / 0.5681 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.3736, allocations: 159.6 kB / 0.5682 GB, free: 10.74 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.3736, allocations: 8 kB / 0.5682 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3762, allocations: 0.9817 MB / 0.5692 GB, free: 9.754 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3763, allocations: 47.81 kB / 0.5692 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.3764, allocations: 83.77 kB / 0.5693 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.3788, allocations: 0.9555 MB / 0.5702 GB, free: 8.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3788, allocations: 0 / 0.5702 GB, free: 8.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3788, allocations: 3.938 kB / 0.5702 GB, free: 8.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.3788, allocations: 0 / 0.5702 GB, free: 8.664 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.001537/0.3804, allocations: 0.6202 MB / 0.5708 GB, free: 8.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3804, allocations: 8.031 kB / 0.5708 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/0.3891, allocations: 0.6366 MB / 0.5715 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3896, allocations: 205.5 kB / 0.5717 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.3898, allocations: 230.6 kB / 0.5719 GB, free: 6.867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3899, allocations: 27.94 kB / 0.5719 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.3914, allocations: 0.7384 MB / 0.5726 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3914, allocations: 0 / 0.5726 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.3915, allocations: 12 kB / 0.5726 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.3916, allocations: 12.75 kB / 0.5727 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.3932, allocations: 0.6184 MB / 0.5733 GB, free: 5.383 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.00235/0.3956, allocations: 1.395 MB / 0.5746 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.396, allocations: 150.5 kB / 0.5748 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3962, allocations: 80.8 kB / 0.5748 GB, free: 3.672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.3974, allocations: 475.2 kB / 0.5753 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3974, allocations: 42.55 kB / 0.5753 GB, free: 3.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.3974, allocations: 0 / 0.5753 GB, free: 3.137 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.001113/0.3985, allocations: 328 kB / 0.5756 GB, free: 2.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3986, allocations: 51.41 kB / 0.5757 GB, free: 2.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3988, allocations: 199.1 kB / 0.5759 GB, free: 2.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.3988, allocations: 29.7 kB / 0.5759 GB, free: 2.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.399, allocations: 183.8 kB / 0.5761 GB, free: 2.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.399, allocations: 75.41 kB / 0.5762 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3992, allocations: 90.02 kB / 0.5762 GB, free: 2.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3993, allocations: 330.8 kB / 0.5766 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3995, allocations: 68.72 kB / 0.5766 GB, free: 1.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3998, allocations: 264 kB / 0.5769 GB, free: 1.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.4004, allocations: 372.8 kB / 0.5772 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4004, allocations: 0 / 0.5772 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007488/0.4012, allocations: 369.6 kB / 0.5776 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4012, allocations: 8 kB / 0.5776 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4012, allocations: 8 kB / 0.5776 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4012, allocations: 11.98 kB / 0.5776 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.4017, allocations: 123.8 kB / 0.5777 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/0.4022, allocations: 0.6016 MB / 0.5783 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4024, allocations: 51.61 kB / 0.5784 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.4025, allocations: 43.94 kB / 0.5784 GB, free: 15.72 MB / 494.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.0001759/0.4027, allocations: 150.5 kB / 0.5786 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.4028, allocations: 19.86 kB / 0.5786 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/0.4037, allocations: 463.2 kB / 0.579 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4038, allocations: 4 kB / 0.579 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4038, allocations: 4.688 kB / 0.579 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4038, allocations: 0 / 0.579 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.4047, allocations: 0.4893 MB / 0.5795 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4047, allocations: 4 kB / 0.5795 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.405, allocations: 60.72 kB / 0.5796 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.405, allocations: 4 kB / 0.5796 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.405, allocations: 11.98 kB / 0.5796 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004007/0.4054, allocations: 0.598 MB / 0.5802 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4054, allocations: 3.938 kB / 0.5802 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.4058, allocations: 298.3 kB / 0.5805 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.4059, allocations: 27.89 kB / 0.5805 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.406, allocations: 23.48 kB / 0.5805 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.4063, allocations: 8 kB / 0.5805 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4063, allocations: 23.91 kB / 0.5805 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.4064, allocations: 16.09 kB / 0.5805 GB, free: 13.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4065, allocations: 145.8 kB / 0.5807 GB, free: 13.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4065, allocations: 0 / 0.5807 GB, free: 13.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.4072, allocations: 167.6 kB / 0.5808 GB, free: 13.09 MB / 494.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.0006427/0.4079, allocations: 282.7 kB / 0.5811 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.4084, allocations: 209 kB / 0.5813 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4084, allocations: 4 kB / 0.5813 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4087, allocations: 84.33 kB / 0.5814 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.4093, allocations: 60.61 kB / 0.5815 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.411, allocations: 0.8626 MB / 0.5823 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4112, allocations: 108.6 kB / 0.5824 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006862/0.4118, allocations: 382.1 kB / 0.5828 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.412, allocations: 60.44 kB / 0.5828 GB, free: 10.98 MB / 494.1 MB Notification: Performance of SimCode: time 4.8e-07/0.412, allocations: 0 / 0.5828 GB, free: 10.98 MB / 494.1 MB Notification: Performance of Templates: time 0.01376/0.4258, allocations: 5.783 MB / 0.5885 GB, free: 5.266 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.489416290074587]