Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.001086/0.001086, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.00122/0.00122, allocations: 161.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.3095/0.3095, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 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.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.144e-05, allocations: 2.312 kB / 378.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02656/0.02659, allocations: 26.98 MB / 405 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.03816, allocations: 10.99 MB / 416 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.03835, allocations: 4 kB / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.03877, allocations: 67.58 kB / 416.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02033/0.0591, allocations: 9.374 MB / 425.5 MB, free: 3.375 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.06002, allocations: 430.5 kB / 425.9 MB, free: 2.953 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008195/0.06084, allocations: 0.4905 MB / 426.4 MB, free: 2.457 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.06093, allocations: 12.58 kB / 426.4 MB, free: 2.445 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.06133, allocations: 255.3 kB / 426.7 MB, free: 2.195 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007264/0.0686, allocations: 6.03 MB / 432.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.06866, allocations: 12 kB / 432.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2349/0.3036, allocations: 12.52 MB / 445.2 MB, free: 60.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3038, allocations: 93.42 kB / 445.3 MB, free: 60.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.304, allocations: 113.7 kB / 445.4 MB, free: 60.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02503/0.3291, allocations: 8.28 MB / 453.7 MB, free: 60.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3291, allocations: 0.9062 kB / 453.7 MB, free: 60.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3291, allocations: 0 / 453.7 MB, free: 60.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3291, allocations: 0 / 453.7 MB, free: 60.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005196/0.3343, allocations: 1.635 MB / 455.3 MB, free: 59.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3343, allocations: 8.812 kB / 455.3 MB, free: 59.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.3346, allocations: 68.45 kB / 455.4 MB, free: 59.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3348, allocations: 188.6 kB / 455.6 MB, free: 59.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3349, allocations: 25.41 kB / 455.6 MB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.3349, allocations: 33.81 kB / 455.7 MB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.3354, allocations: 465.5 kB / 456.1 MB, free: 59.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3355, allocations: 0 / 456.1 MB, free: 59.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3355, allocations: 16.58 kB / 456.1 MB, free: 59.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.3355, allocations: 27.5 kB / 456.2 MB, free: 59.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.3361, allocations: 493.3 kB / 456.6 MB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.3377, allocations: 1.821 MB / 458.5 MB, free: 57.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.3383, allocations: 261.9 kB / 458.7 MB, free: 57.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.3384, allocations: 79.95 kB / 458.8 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006611/0.345, allocations: 3.682 MB / 462.5 MB, free: 57.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.3453, allocations: 283.5 kB / 462.7 MB, free: 57.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.3453, allocations: 0 / 462.7 MB, free: 57.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001455/0.3468, allocations: 0.7751 MB / 463.5 MB, free: 56.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3468, allocations: 267.1 kB / 463.8 MB, free: 56.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.347, allocations: 289.5 kB / 464.1 MB, free: 56.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.347, allocations: 35.92 kB / 464.1 MB, free: 56.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.347, allocations: 250.1 kB / 464.3 MB, free: 56.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3471, allocations: 126.1 kB / 464.5 MB, free: 56.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.3472, allocations: 134.8 kB / 464.6 MB, free: 56.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.3473, allocations: 0.5031 MB / 465.1 MB, free: 55.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.3473, allocations: 68.22 kB / 465.2 MB, free: 55.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.3476, allocations: 466.7 kB / 465.6 MB, free: 55.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3481, allocations: 0.5817 MB / 466.2 MB, free: 54.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3481, allocations: 7.125 kB / 466.2 MB, free: 54.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007831/0.3489, allocations: 0.4911 MB / 466.7 MB, free: 54.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3489, allocations: 7.75 kB / 466.7 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3489, allocations: 9.75 kB / 466.7 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3489, allocations: 13.38 kB / 466.7 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.3493, allocations: 187 kB / 466.9 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.3496, allocations: 1.805 MB / 468.7 MB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3498, allocations: 21.06 kB / 468.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3498, allocations: 49.17 kB / 468.8 MB, free: 52.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.3499, allocations: 199.4 kB / 469 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3501, allocations: 57.31 kB / 469 MB, free: 52.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.3507, allocations: 0.5008 MB / 469.5 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3507, allocations: 6.156 kB / 469.5 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3507, allocations: 0 / 469.5 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3507, allocations: 3.141 kB / 469.6 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.3512, allocations: 0.5724 MB / 470.1 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3512, allocations: 8 kB / 470.1 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3514, allocations: 83.64 kB / 470.2 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3514, allocations: 7.312 kB / 470.2 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3515, allocations: 10.06 kB / 470.2 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002486/0.3517, allocations: 1.79 MB / 472 MB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3517, allocations: 0 / 472 MB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.3521, allocations: 388.6 kB / 472.4 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.3521, allocations: 31.64 kB / 472.4 MB, free: 49.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3522, allocations: 11.12 kB / 472.4 MB, free: 49.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3523, allocations: 17.14 kB / 472.5 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.3523, allocations: 21.34 kB / 472.5 MB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3523, allocations: 12.25 kB / 472.5 MB, free: 49.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.3524, allocations: 200 kB / 472.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3524, allocations: 0 / 472.7 MB, free: 49.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004839/0.3572, allocations: 1.717 MB / 474.4 MB, free: 49.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007389/0.3646, allocations: 2.576 MB / 477 MB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009987/0.3656, allocations: 316 kB / 477.3 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3656, allocations: 0 / 477.3 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.3659, allocations: 121.4 kB / 477.4 MB, free: 49.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3664, allocations: 128.4 kB / 477.5 MB, free: 49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.131/0.4974, allocations: 141.2 MB / 0.6042 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.516e-05/0.4975, allocations: 89.75 kB / 0.6043 GB, free: 10.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.498, allocations: 149.4 kB / 0.6045 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4982, allocations: 52.48 kB / 0.6045 GB, free: 10.48 MB / 474.7 MB Notification: Performance of SimCode: time 3.086e-06/0.4982, allocations: 0 / 0.6045 GB, free: 10.48 MB / 474.7 MB Notification: Performance of Templates: time 0.2169/0.7151, allocations: 48.44 MB / 0.6518 GB, free: 154.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15413263416849]