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.0008952/0.0008952, allocations: 85.81 kB / 21.43 MB, free: 3.07 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.001226/0.001226, allocations: 166.6 kB / 24.82 MB, free: 8.93 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 1.025/1.025, allocations: 177 MB / 205.1 MB, free: 5.457 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.284/0.284, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.364e-06/2.364e-06, allocations: 0 / 379.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.155e-05, allocations: 3.156 kB / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03759/0.03762, allocations: 23.8 MB / 403.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009314/0.04694, allocations: 9.105 MB / 412.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.04705, allocations: 4 kB / 412.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.0476, allocations: 75.58 kB / 412.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.0648, allocations: 8.713 MB / 421 MB, free: 7.934 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.06546, allocations: 358.9 kB / 421.3 MB, free: 7.582 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.06598, allocations: 0.5139 MB / 421.8 MB, free: 7.066 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.06602, allocations: 8.594 kB / 421.8 MB, free: 7.059 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.0663, allocations: 263.4 kB / 422.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007429/0.07373, allocations: 6.069 MB / 428.2 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.07376, allocations: 12 kB / 428.2 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/0.08989, allocations: 11.16 MB / 439.3 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.08998, allocations: 99.7 kB / 439.4 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.09008, allocations: 111.8 kB / 439.5 MB, free: 5.332 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1841/0.2742, allocations: 7.517 MB / 447.1 MB, free: 65.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2742, allocations: 2.969 kB / 447.1 MB, free: 65.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2742, allocations: 0 / 447.1 MB, free: 65.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2742, allocations: 0 / 447.1 MB, free: 65.39 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.003497/0.2777, allocations: 1.531 MB / 448.6 MB, free: 64.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2777, allocations: 8.875 kB / 448.6 MB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.2779, allocations: 72.75 kB / 448.7 MB, free: 64.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2781, allocations: 180.4 kB / 448.9 MB, free: 64.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2782, allocations: 24.66 kB / 448.9 MB, free: 64.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2782, allocations: 38.36 kB / 448.9 MB, free: 64.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.2786, allocations: 431.5 kB / 449.3 MB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2787, allocations: 0 / 449.3 MB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.2787, allocations: 17.41 kB / 449.4 MB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.2787, allocations: 25.36 kB / 449.4 MB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.2791, allocations: 416.2 kB / 449.8 MB, free: 64.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2806, allocations: 1.793 MB / 451.6 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.281, allocations: 236.5 kB / 451.8 MB, free: 62.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.2811, allocations: 69.89 kB / 451.9 MB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005941/0.287, allocations: 3.534 MB / 455.4 MB, free: 62.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.2873, allocations: 277.8 kB / 455.7 MB, free: 62.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.2873, allocations: 0 / 455.7 MB, free: 62.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001138/0.2884, allocations: 0.5766 MB / 456.3 MB, free: 62.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2885, allocations: 275.4 kB / 456.5 MB, free: 61.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2886, allocations: 283 kB / 456.8 MB, free: 61.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2886, allocations: 32.52 kB / 456.8 MB, free: 61.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.2887, allocations: 254.8 kB / 457.1 MB, free: 61.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.2887, allocations: 137.2 kB / 457.2 MB, free: 61.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.2888, allocations: 128.6 kB / 457.3 MB, free: 61.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2889, allocations: 0.5103 MB / 457.9 MB, free: 60.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.289, allocations: 58.78 kB / 457.9 MB, free: 60.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2892, allocations: 454.5 kB / 458.4 MB, free: 60.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.2895, allocations: 0.5536 MB / 458.9 MB, free: 59.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2896, allocations: 2.938 kB / 458.9 MB, free: 59.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006074/0.2902, allocations: 477.9 kB / 459.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2902, allocations: 10.56 kB / 459.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2902, allocations: 9.281 kB / 459.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2902, allocations: 12.81 kB / 459.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2905, allocations: 188.6 kB / 459.6 MB, free: 59.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003145/0.2908, allocations: 1.805 MB / 461.4 MB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.291, allocations: 25.94 kB / 461.4 MB, free: 57.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.291, allocations: 46.16 kB / 461.5 MB, free: 57.84 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 9.582e-05/0.2911, allocations: 196.2 kB / 461.7 MB, free: 57.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.2913, allocations: 54.17 kB / 461.7 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.2917, allocations: 488.2 kB / 462.2 MB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2917, allocations: 3 kB / 462.2 MB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2917, allocations: 7.219 kB / 462.2 MB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2917, allocations: 5.109 kB / 462.2 MB, free: 57.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.2922, allocations: 0.5235 MB / 462.7 MB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2922, allocations: 3.156 kB / 462.7 MB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2924, allocations: 83.2 kB / 462.8 MB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2924, allocations: 3.438 kB / 462.8 MB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2924, allocations: 13.88 kB / 462.8 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002391/0.2926, allocations: 1.789 MB / 464.6 MB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2926, allocations: 7.344 kB / 464.6 MB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.2929, allocations: 375 kB / 465 MB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.293, allocations: 21.83 kB / 465 MB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.293, allocations: 13.16 kB / 465 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2931, allocations: 17.42 kB / 465 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2931, allocations: 26.5 kB / 465.1 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2931, allocations: 9.375 kB / 465.1 MB, free: 55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.2932, allocations: 195.9 kB / 465.3 MB, free: 54.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2932, allocations: 0 / 465.3 MB, free: 54.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003336/0.2965, allocations: 1.643 MB / 466.9 MB, free: 54.6 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.004434/0.301, allocations: 2.482 MB / 469.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.3015, allocations: 293.2 kB / 469.7 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3015, allocations: 3.125 kB / 469.7 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3017, allocations: 115.8 kB / 469.8 MB, free: 54.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3021, allocations: 138.1 kB / 469.9 MB, free: 54.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1197/0.4218, allocations: 142 MB / 0.5976 GB, free: 1.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.4218, allocations: 93.75 kB / 0.5977 GB, free: 1.523 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003714/0.4222, allocations: 122.5 kB / 0.5978 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.4224, allocations: 178.1 kB / 0.598 GB, free: 1.242 MB / 458.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4224, allocations: 0 / 0.598 GB, free: 1.242 MB / 458.7 MB Notification: Performance of Templates: time 0.2121/0.6346, allocations: 54.02 MB / 0.6507 GB, free: 123.3 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: 6.891382132191211]