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.000964/0.000964, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001236/0.001236, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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 0.963/0.963, allocations: 177 MB / 205.2 MB, free: 5.035 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.2846/0.2846, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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 1.663e-06/1.663e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.6e-05, allocations: 6.047 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0237/0.02373, allocations: 24.04 MB / 350 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.0324, allocations: 9.257 MB / 359.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.03256, allocations: 0 / 359.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.03296, allocations: 75.53 kB / 359.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01809/0.05105, allocations: 8.757 MB / 368.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.05177, allocations: 358.8 kB / 368.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.05237, allocations: 0.51 MB / 368.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.05243, allocations: 14.56 kB / 369 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.05268, allocations: 259.4 kB / 369.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.05924, allocations: 6.007 MB / 375.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/0.05932, allocations: 12 kB / 375.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/0.07665, allocations: 11.11 MB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.07703, allocations: 103.6 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.07718, allocations: 107.8 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01798/0.09517, allocations: 7.521 MB / 394.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09517, allocations: 4 kB / 394.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09517, allocations: 0 / 394.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.09518, allocations: 0 / 394.1 MB, free: 2.82 MB / 362.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.003496/0.09868, allocations: 1.406 MB / 395.5 MB, free: 1.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.09872, allocations: 15.97 kB / 395.5 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.09886, allocations: 56.78 kB / 395.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.09906, allocations: 176.9 kB / 395.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.09908, allocations: 24.64 kB / 395.7 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.09911, allocations: 31.94 kB / 395.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.09951, allocations: 411.4 kB / 396.2 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.09952, allocations: 7.922 kB / 396.2 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.09954, allocations: 12 kB / 396.2 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.09958, allocations: 20.66 kB / 396.2 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.09994, allocations: 397.4 kB / 396.6 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.101, allocations: 1.339 MB / 397.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1014, allocations: 211.7 kB / 398.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1014, allocations: 57.48 kB / 398.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006044/0.1075, allocations: 3.414 MB / 401.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.1078, allocations: 250.4 kB / 401.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.1078, allocations: 0 / 401.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006541/0.1084, allocations: 332.8 kB / 402.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.1085, allocations: 265 kB / 402.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1087, allocations: 215.6 kB / 402.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1087, allocations: 29.7 kB / 402.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1088, allocations: 212 kB / 402.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.1088, allocations: 122.9 kB / 403 MB, free: 9.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.1089, allocations: 110.2 kB / 403.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.109, allocations: 338.8 kB / 403.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.1091, allocations: 49.27 kB / 403.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.1093, allocations: 318.5 kB / 403.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.1097, allocations: 460.6 kB / 404.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1097, allocations: 0 / 404.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005221/0.1102, allocations: 369.5 kB / 404.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1102, allocations: 8 kB / 404.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1103, allocations: 16.12 kB / 404.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1103, allocations: 12 kB / 404.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.1106, allocations: 163.7 kB / 404.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002666/0.1109, allocations: 0.6054 MB / 405.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1111, allocations: 63.5 kB / 405.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.1111, allocations: 35.98 kB / 405.5 MB, free: 6.73 MB / 378.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 (65): * Single equations (assignments): 64 * 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.0001177/0.1112, allocations: 156.4 kB / 405.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1113, allocations: 43.84 kB / 405.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1118, allocations: 407.2 kB / 406.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1118, allocations: 4 kB / 406.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1118, allocations: 0 / 406.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1118, allocations: 0 / 406.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1122, allocations: 399.2 kB / 406.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1122, allocations: 0 / 406.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.1124, allocations: 75.88 kB / 406.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1124, allocations: 0 / 406.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1125, allocations: 11.98 kB / 406.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002066/0.1127, allocations: 0.59 MB / 407.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.1127, allocations: 8.062 kB / 407.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1129, allocations: 263.4 kB / 407.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.1129, allocations: 23.83 kB / 407.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.113, allocations: 15.95 kB / 407.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1131, allocations: 8 kB / 407.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1131, allocations: 27.83 kB / 407.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1131, allocations: 12 kB / 407.5 MB, free: 4.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.755e-05/0.1132, allocations: 78.83 kB / 407.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1132, allocations: 0 / 407.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003724/0.1169, allocations: 1.43 MB / 409 MB, free: 3.074 MB / 378.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 (23): * Single equations (assignments): 22 * 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.006024/0.1229, allocations: 2.198 MB / 411.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.1237, allocations: 272.3 kB / 411.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/0.1237, allocations: 9.25 kB / 411.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1239, allocations: 97.59 kB / 411.6 MB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.1243, allocations: 111.4 kB / 411.7 MB, free: 384 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/0.3933, allocations: 136.8 MB / 0.5356 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.3933, allocations: 89.81 kB / 0.5357 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.3937, allocations: 125.1 kB / 0.5359 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3939, allocations: 143.3 kB / 0.536 GB, free: 12.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3939, allocations: 0 / 0.536 GB, free: 12.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04395/0.4378, allocations: 45.83 MB / 0.5807 GB, free: 14.76 MB / 458.7 MB " [Timeout remaining time 660] 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: 6.506778978742659]