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.001026/0.001026, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001852/0.002878, allocations: 457.8 kB / 10.45 MB, free: 244 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.001221/0.001221, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002811, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.045/1.045, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.149, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.3228/0.3228, allocations: 34.89 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03101/0.3538, allocations: 13.23 MB / 292.8 MB, free: 6.402 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.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.633e-06/1.633e-06, allocations: 0 / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.725e-05, allocations: 6.312 kB / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02862/0.02865, allocations: 24.23 MB / 318.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009342/0.03799, allocations: 9.303 MB / 327.7 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.03816, allocations: 4 kB / 327.7 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.0385, allocations: 79.56 kB / 327.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01899/0.05749, allocations: 7.958 MB / 335.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.05821, allocations: 351.7 kB / 336.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000772/0.05898, allocations: 0.5139 MB / 336.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.05905, allocations: 14.56 kB / 336.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.05949, allocations: 267.3 kB / 336.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006824/0.06631, allocations: 5.416 MB / 342.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.06638, allocations: 20 kB / 342.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.08597, allocations: 11.86 MB / 354.1 MB, free: 8.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.08613, allocations: 91.77 kB / 354.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.08626, allocations: 87.88 kB / 354.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.1008, allocations: 5.866 MB / 360.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.1008, allocations: 3.984 kB / 360.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1008, allocations: 0 / 360.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1008, allocations: 0 / 360.2 MB, free: 2.816 MB / 346.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.004324/0.1051, allocations: 2.043 MB / 362.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1052, allocations: 8.922 kB / 362.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1054, allocations: 64.7 kB / 362.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1056, allocations: 172.8 kB / 362.5 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1056, allocations: 20.66 kB / 362.5 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1057, allocations: 31.98 kB / 362.5 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.1062, allocations: 419.4 kB / 362.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1062, allocations: 3.938 kB / 362.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1062, allocations: 12 kB / 363 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.1063, allocations: 24.64 kB / 363 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.1067, allocations: 397.4 kB / 363.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1079, allocations: 1.338 MB / 364.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.1083, allocations: 205.5 kB / 364.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.1084, allocations: 65.47 kB / 365 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006443/0.1148, allocations: 3.391 MB / 368.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.1152, allocations: 258.3 kB / 368.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.1152, allocations: 7.938 kB / 368.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001085/0.1163, allocations: 454.6 kB / 369.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.1164, allocations: 273 kB / 369.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1166, allocations: 206.1 kB / 369.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1166, allocations: 37.7 kB / 369.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1167, allocations: 200 kB / 369.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.1167, allocations: 122.9 kB / 369.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.1168, allocations: 114.2 kB / 370 MB, free: 8.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1169, allocations: 330.8 kB / 370.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.117, allocations: 53.27 kB / 370.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.1172, allocations: 318.5 kB / 370.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.1176, allocations: 488.5 kB / 371.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.1177, allocations: 4 kB / 371.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005644/0.1182, allocations: 369.5 kB / 371.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1182, allocations: 12 kB / 371.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1183, allocations: 8 kB / 371.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1183, allocations: 16.06 kB / 371.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.1187, allocations: 195.7 kB / 371.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002906/0.119, allocations: 0.5938 MB / 372.3 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1192, allocations: 59.52 kB / 372.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.1192, allocations: 39.98 kB / 372.4 MB, free: 5.914 MB / 362.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.0001142/0.1193, allocations: 160.3 kB / 372.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1194, allocations: 47.78 kB / 372.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.1199, allocations: 392.4 kB / 373 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1199, allocations: 4.031 kB / 373 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1199, allocations: 4 kB / 373 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1199, allocations: 0 / 373 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1204, allocations: 401.6 kB / 373.4 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1204, allocations: 4 kB / 373.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.1206, allocations: 87.84 kB / 373.5 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1207, allocations: 27.78 kB / 373.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1207, allocations: 4 kB / 373.5 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1207, allocations: 8.125 kB / 373.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002288/0.1209, allocations: 0.5938 MB / 374.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1209, allocations: 0 / 374.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1212, allocations: 263.4 kB / 374.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.1213, allocations: 11.94 kB / 374.4 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1214, allocations: 12.94 kB / 374.4 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1214, allocations: 23.89 kB / 374.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1214, allocations: 8 kB / 374.5 MB, free: 3.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.1215, allocations: 74.77 kB / 374.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1215, allocations: 4.062 kB / 374.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003574/0.1251, allocations: 1.453 MB / 376 MB, free: 2.227 MB / 362.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.00572/0.1308, allocations: 2.252 MB / 378.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.1313, allocations: 233.2 kB / 378.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.427e-05/0.1313, allocations: 4.594 kB / 378.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1315, allocations: 84.69 kB / 378.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.1321, allocations: 0.4992 MB / 379.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/0.4695, allocations: 136.3 MB / 0.5033 GB, free: 58.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.4696, allocations: 88.58 kB / 0.5034 GB, free: 57.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004636/0.47, allocations: 113.3 kB / 0.5035 GB, free: 57.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.4703, allocations: 143.3 kB / 0.5036 GB, free: 57.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.406e-06/0.4703, allocations: 0 / 0.5036 GB, free: 57.7 MB / 426.7 MB Notification: Performance of Templates: time 0.0377/0.508, allocations: 45.04 MB / 0.5476 GB, free: 12.97 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.937836050055921]