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.001143/0.001143, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004311/0.004311, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9582/0.9582, allocations: 177 MB / 205.2 MB, free: 5.039 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: 488 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 2.114e-06/2.114e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.92e-05, allocations: 5.406 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02265/0.02268, allocations: 24.1 MB / 350.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008449/0.03112, allocations: 9.24 MB / 359.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/0.03121, allocations: 4 kB / 359.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.0316, allocations: 79.56 kB / 359.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01664/0.04824, allocations: 7.995 MB / 367.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.04884, allocations: 354.9 kB / 367.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.04931, allocations: 0.51 MB / 368.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.04937, allocations: 18.55 kB / 368.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.04966, allocations: 255.3 kB / 368.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005638/0.0553, allocations: 5.999 MB / 374.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.05534, allocations: 12 kB / 374.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01617/0.07151, allocations: 11.83 MB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.07161, allocations: 103.7 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.07174, allocations: 103.8 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.08649, allocations: 7.521 MB / 394.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.0865, allocations: 0 / 394.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0865, allocations: 0 / 394.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.0865, allocations: 4 kB / 394.1 MB, free: 2.789 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.00238/0.08888, allocations: 1.413 MB / 395.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.08893, allocations: 8.031 kB / 395.5 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.08907, allocations: 52.78 kB / 395.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.08929, allocations: 180.8 kB / 395.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.08931, allocations: 20.66 kB / 395.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.08934, allocations: 31.98 kB / 395.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.08975, allocations: 407.4 kB / 396.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.08976, allocations: 7.938 kB / 396.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.08978, allocations: 19.97 kB / 396.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.08982, allocations: 20.66 kB / 396.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.09021, allocations: 397.4 kB / 396.6 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.09132, allocations: 1.331 MB / 398 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.09172, allocations: 212.2 kB / 398.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.09179, allocations: 61.48 kB / 398.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005793/0.09758, allocations: 3.41 MB / 401.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.09793, allocations: 250.4 kB / 401.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.09794, allocations: 4 kB / 401.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006537/0.09859, allocations: 331.8 kB / 402.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.09867, allocations: 270 kB / 402.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.09879, allocations: 211.6 kB / 402.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.09881, allocations: 33.7 kB / 402.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.09889, allocations: 208 kB / 402.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.09896, allocations: 126.9 kB / 403.1 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.09905, allocations: 110.2 kB / 403.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.09913, allocations: 334.8 kB / 403.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.09918, allocations: 45.28 kB / 403.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.09942, allocations: 326.5 kB / 403.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.0998, allocations: 452.5 kB / 404.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.09981, allocations: 7.938 kB / 404.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005433/0.1004, allocations: 372.9 kB / 404.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1004, allocations: 8 kB / 404.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1004, allocations: 12 kB / 404.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1004, allocations: 12 kB / 404.7 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.1008, allocations: 176.4 kB / 404.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/0.101, allocations: 0.6054 MB / 405.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1012, allocations: 59.56 kB / 405.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.1012, allocations: 43.98 kB / 405.6 MB, free: 6.684 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.0001041/0.1013, allocations: 156.4 kB / 405.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1014, allocations: 43.84 kB / 405.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.1019, allocations: 389.2 kB / 406.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1019, allocations: 4 kB / 406.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1019, allocations: 0 / 406.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1019, allocations: 4 kB / 406.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.1023, allocations: 403.4 kB / 406.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1023, allocations: 0 / 406.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1025, allocations: 87.92 kB / 406.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1025, allocations: 0 / 406.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1025, allocations: 8 kB / 406.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001853/0.1027, allocations: 0.582 MB / 407.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1027, allocations: 4 kB / 407.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.103, allocations: 267.5 kB / 407.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.103, allocations: 31.81 kB / 407.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.103, allocations: 15.95 kB / 407.5 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.1031, allocations: 7.984 kB / 407.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1032, allocations: 23.91 kB / 407.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1032, allocations: 12 kB / 407.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.1032, allocations: 74.77 kB / 407.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1032, allocations: 0 / 407.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003323/0.1066, allocations: 1.43 MB / 409.1 MB, free: 3.035 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.003805/0.1104, allocations: 2.203 MB / 411.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1108, allocations: 259.6 kB / 411.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/0.1108, allocations: 14.25 kB / 411.6 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.111, allocations: 96.64 kB / 411.6 MB, free: 456 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1114, allocations: 110.9 kB / 411.8 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2721/0.3835, allocations: 136.8 MB / 0.5357 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.3836, allocations: 89.81 kB / 0.5358 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.384, allocations: 120.2 kB / 0.5359 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.3842, allocations: 153.7 kB / 0.536 GB, free: 12.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.3842, allocations: 0 / 0.536 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04142/0.4256, allocations: 45.83 MB / 0.5808 GB, free: 14.66 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 -s gbode -gbm=radauIIA3 -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.40199490217492]