Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002726, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007324/0.0007324, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002268, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9804/0.9804, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1149/1.095, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.295/0.295, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03101/0.326, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.113e-05, allocations: 4.422 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1427/0.1427, allocations: 145.9 MB / 439.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1956/0.3383, allocations: 5.45 MB / 445.2 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3384, allocations: 0 / 445.2 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.3386, allocations: 58.42 kB / 445.3 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.3411, allocations: 1.365 MB / 446.7 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3413, allocations: 151.5 kB / 446.8 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.3417, allocations: 428.9 kB / 447.2 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.3418, allocations: 10.27 kB / 447.2 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.3421, allocations: 240.1 kB / 447.5 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3423, allocations: 158.6 kB / 447.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3424, allocations: 9.594 kB / 447.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.3437, allocations: 1.051 MB / 448.7 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.3438, allocations: 35.12 kB / 448.7 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3438, allocations: 62.67 kB / 448.8 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.3447, allocations: 0.8139 MB / 449.6 MB, free: 3.516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.3447, allocations: 2.875 kB / 449.6 MB, free: 3.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3447, allocations: 0 / 449.6 MB, free: 3.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3447, allocations: 0.7188 kB / 449.6 MB, free: 3.516 MB / 426.7 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.0009689/0.3457, allocations: 0.7875 MB / 450.4 MB, free: 19.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.3457, allocations: 16.98 kB / 450.4 MB, free: 19.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.3489, allocations: 0.7608 MB / 451.2 MB, free: 19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3491, allocations: 166.1 kB / 451.3 MB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.3492, allocations: 224.6 kB / 451.5 MB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.3493, allocations: 26.69 kB / 451.6 MB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.3497, allocations: 0.6708 MB / 452.2 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3497, allocations: 0 / 452.2 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.3498, allocations: 12.09 kB / 452.3 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3498, allocations: 11.25 kB / 452.3 MB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.3502, allocations: 373 kB / 452.6 MB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3512, allocations: 1.3 MB / 453.9 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3513, allocations: 102.7 kB / 454 MB, free: 17.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.3514, allocations: 46.95 kB / 454.1 MB, free: 17.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/0.3519, allocations: 481.6 kB / 454.5 MB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3519, allocations: 42 kB / 454.6 MB, free: 17.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/0.3519, allocations: 0 / 454.6 MB, free: 17.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003934/0.3523, allocations: 238.8 kB / 454.8 MB, free: 17.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3523, allocations: 55.47 kB / 454.9 MB, free: 16.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.3524, allocations: 197.2 kB / 455.1 MB, free: 16.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3524, allocations: 28.36 kB / 455.1 MB, free: 16.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.3525, allocations: 185.5 kB / 455.3 MB, free: 16.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3525, allocations: 79.19 kB / 455.4 MB, free: 16.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.3526, allocations: 89.77 kB / 455.4 MB, free: 16.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.3527, allocations: 328.4 kB / 455.8 MB, free: 16.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.3527, allocations: 37.17 kB / 455.8 MB, free: 16.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.808e-05/0.3528, allocations: 236 kB / 456 MB, free: 16.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.353, allocations: 327.9 kB / 456.3 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.353, allocations: 4.344 kB / 456.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002204/0.3532, allocations: 268 kB / 456.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3532, allocations: 10 kB / 456.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3532, allocations: 7.969 kB / 456.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3532, allocations: 9.25 kB / 456.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.3534, allocations: 135.5 kB / 456.8 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002127/0.3537, allocations: 0.5943 MB / 457.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3538, allocations: 43.61 kB / 457.4 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3538, allocations: 33.31 kB / 457.4 MB, free: 15.14 MB / 442.7 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 8.137e-05/0.3539, allocations: 149 kB / 457.6 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3539, allocations: 23.69 kB / 457.6 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3543, allocations: 408.2 kB / 458 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3543, allocations: 4.625 kB / 458 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.3543, allocations: 1.5 kB / 458 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3543, allocations: 0 / 458 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.3547, allocations: 414.4 kB / 458.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3547, allocations: 3.938 kB / 458.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3548, allocations: 58.86 kB / 458.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3548, allocations: 23.78 kB / 458.5 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3548, allocations: 9.234 kB / 458.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3548, allocations: 3.594 kB / 458.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001775/0.355, allocations: 0.5867 MB / 459.1 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.355, allocations: 8.484 kB / 459.1 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3552, allocations: 248.3 kB / 459.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.3552, allocations: 14.91 kB / 459.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3554, allocations: 13.36 kB / 459.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3554, allocations: 16.11 kB / 459.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3554, allocations: 20.48 kB / 459.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.3555, allocations: 55.77 kB / 459.5 MB, free: 13.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3555, allocations: 0 / 459.5 MB, free: 13.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005703/0.3561, allocations: 170.4 kB / 459.6 MB, free: 13.84 MB / 442.7 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.0004953/0.3566, allocations: 267.2 kB / 459.9 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.3569, allocations: 193.8 kB / 460.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/0.3569, allocations: 17.44 kB / 460.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3571, allocations: 70 kB / 460.2 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3574, allocations: 105.6 kB / 460.3 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.361, allocations: 0.8809 MB / 461.2 MB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.3611, allocations: 79.16 kB / 461.2 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.3615, allocations: 377.8 kB / 461.6 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3617, allocations: 158.8 kB / 461.8 MB, free: 13.26 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3617, allocations: 0 / 461.8 MB, free: 13.26 MB / 442.7 MB Notification: Performance of Templates: time 0.007354/0.369, allocations: 6.899 MB / 468.7 MB, free: 12.72 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.7077666921541095]