Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.0009779/0.0009779, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009552/0.0009552, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 1.032/1.032, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.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.2885/0.2885, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.484e-05, allocations: 3.297 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03597/0.036, allocations: 24.13 MB / 402.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.04814, allocations: 9.265 MB / 412.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.04828, allocations: 4 kB / 412.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.04877, allocations: 75.52 kB / 412.3 MB, free: 468 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02572/0.07449, allocations: 8.702 MB / 421 MB, free: 7.719 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.07546, allocations: 366.8 kB / 421.3 MB, free: 7.359 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008127/0.07628, allocations: 0.51 MB / 421.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.07636, allocations: 8.594 kB / 421.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.07682, allocations: 263.3 kB / 422.1 MB, free: 6.582 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.08691, allocations: 6.05 MB / 428.2 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.08697, allocations: 12 kB / 428.2 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.1078, allocations: 11.14 MB / 439.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1079, allocations: 103.7 kB / 439.4 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.108, allocations: 111.8 kB / 439.5 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2198/0.3279, allocations: 7.52 MB / 447 MB, free: 64.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3279, allocations: 0 / 447 MB, free: 64.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3279, allocations: 0 / 447 MB, free: 64.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3279, allocations: 0 / 447 MB, free: 64.96 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.003593/0.3315, allocations: 1.529 MB / 448.6 MB, free: 64.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3315, allocations: 11.09 kB / 448.6 MB, free: 64.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.3317, allocations: 67 kB / 448.7 MB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.332, allocations: 187.1 kB / 448.8 MB, free: 63.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.332, allocations: 24.19 kB / 448.9 MB, free: 63.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.332, allocations: 37.02 kB / 448.9 MB, free: 63.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.3325, allocations: 466.2 kB / 449.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3325, allocations: 0 / 449.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3325, allocations: 18.34 kB / 449.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.3326, allocations: 21.25 kB / 449.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.333, allocations: 498.9 kB / 449.9 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3342, allocations: 1.818 MB / 451.7 MB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.3346, allocations: 250.1 kB / 451.9 MB, free: 62.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.3347, allocations: 77.36 kB / 452 MB, free: 62.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005913/0.3406, allocations: 3.686 MB / 455.7 MB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.3409, allocations: 279 kB / 456 MB, free: 61.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3409, allocations: 1.531 kB / 456 MB, free: 61.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001343/0.3422, allocations: 0.7849 MB / 456.8 MB, free: 61.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.3423, allocations: 272.5 kB / 457 MB, free: 61.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3424, allocations: 280.4 kB / 457.3 MB, free: 61.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3425, allocations: 32.23 kB / 457.3 MB, free: 60.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.3425, allocations: 254.7 kB / 457.6 MB, free: 60.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.3426, allocations: 132.9 kB / 457.7 MB, free: 60.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.3427, allocations: 125.4 kB / 457.8 MB, free: 60.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.3427, allocations: 0.5112 MB / 458.3 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.3428, allocations: 60.81 kB / 458.4 MB, free: 60.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3431, allocations: 471.1 kB / 458.9 MB, free: 59.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.3435, allocations: 0.5728 MB / 459.4 MB, free: 59.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3435, allocations: 4.562 kB / 459.4 MB, free: 59.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007135/0.3442, allocations: 0.4968 MB / 459.9 MB, free: 59.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3443, allocations: 12.34 kB / 459.9 MB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3443, allocations: 8.969 kB / 460 MB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3443, allocations: 12.19 kB / 460 MB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3446, allocations: 176.8 kB / 460.1 MB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.345, allocations: 1.807 MB / 461.9 MB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3452, allocations: 22.19 kB / 462 MB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3452, allocations: 51.75 kB / 462 MB, free: 57.29 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.000102/0.3453, allocations: 202.5 kB / 462.2 MB, free: 57.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3454, allocations: 53.41 kB / 462.3 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.346, allocations: 0.4908 MB / 462.8 MB, free: 56.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.346, allocations: 6.906 kB / 462.8 MB, free: 56.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.346, allocations: 0 / 462.8 MB, free: 56.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.346, allocations: 7.688 kB / 462.8 MB, free: 56.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3465, allocations: 0.5758 MB / 463.4 MB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3465, allocations: 6.906 kB / 463.4 MB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3467, allocations: 86.36 kB / 463.4 MB, free: 56.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3467, allocations: 3 kB / 463.4 MB, free: 56.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3467, allocations: 9.266 kB / 463.5 MB, free: 56.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.347, allocations: 1.789 MB / 465.2 MB, free: 54.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.347, allocations: 0 / 465.2 MB, free: 54.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.3473, allocations: 392.3 kB / 465.6 MB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.3473, allocations: 25.19 kB / 465.7 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3474, allocations: 11.06 kB / 465.7 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3475, allocations: 12.88 kB / 465.7 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3475, allocations: 25.84 kB / 465.7 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3475, allocations: 19.06 kB / 465.7 MB, free: 54.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.3476, allocations: 200.3 kB / 465.9 MB, free: 54.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3476, allocations: 0 / 465.9 MB, free: 54.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003639/0.3513, allocations: 1.634 MB / 467.5 MB, free: 54.02 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.004395/0.3557, allocations: 2.443 MB / 470 MB, free: 53.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.3562, allocations: 302.7 kB / 470.3 MB, free: 53.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3562, allocations: 0.875 kB / 470.3 MB, free: 53.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.3564, allocations: 124.3 kB / 470.4 MB, free: 53.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3568, allocations: 130 kB / 470.5 MB, free: 53.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1262/0.483, allocations: 141.8 MB / 0.598 GB, free: 1.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.4832, allocations: 93.75 kB / 0.5981 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.4837, allocations: 142.8 kB / 0.5982 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4838, allocations: 58.11 kB / 0.5983 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4838, allocations: 0 / 0.5983 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of Templates: time 0.2314/0.7152, allocations: 55.45 MB / 0.6524 GB, free: 121.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 7.853848228696734]