Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.00101/0.00101, 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.001032/0.001032, allocations: 159.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.9932/0.9932, allocations: 177 MB / 205.2 MB, free: 5.047 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.27/0.27, allocations: 34.86 MB / 296.6 MB, free: 456 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 4 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.982e-05, allocations: 4.984 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3097/0.3097, allocations: 147.5 MB / 473.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004852/0.3145, allocations: 6.426 MB / 479.9 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3147, allocations: 10.84 kB / 479.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.3151, allocations: 86.62 kB / 480 MB, free: 12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.321, allocations: 2.477 MB / 482.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3213, allocations: 168.2 kB / 482.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.322, allocations: 0.5702 MB / 483.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.322, allocations: 17.91 kB / 483.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.3224, allocations: 321.9 kB / 483.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.323, allocations: 369.9 kB / 483.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.3231, allocations: 13.56 kB / 483.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.3273, allocations: 3.047 MB / 487 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3274, allocations: 101.9 kB / 487.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3275, allocations: 120.7 kB / 487.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.3302, allocations: 1.955 MB / 489.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3302, allocations: 4 kB / 489.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3302, allocations: 0 / 489.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3302, allocations: 0 / 489.2 MB, free: 11.29 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00151/0.3317, allocations: 0.8858 MB / 490.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3317, allocations: 11.75 kB / 490.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.3319, allocations: 64.59 kB / 490.1 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.332, allocations: 173.2 kB / 490.3 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.3321, allocations: 248.7 kB / 490.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3321, allocations: 32 kB / 490.6 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.3325, allocations: 0.5335 MB / 491.1 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3325, allocations: 3.938 kB / 491.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3325, allocations: 17.17 kB / 491.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.3325, allocations: 27.98 kB / 491.2 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.333, allocations: 0.5584 MB / 491.7 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.334, allocations: 1.396 MB / 493.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3343, allocations: 239.4 kB / 493.3 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.3344, allocations: 80.59 kB / 493.4 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.3355, allocations: 1.026 MB / 494.4 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3355, allocations: 36.78 kB / 494.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.263e-06/0.3355, allocations: 0 / 494.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004772/0.336, allocations: 404.2 kB / 494.9 MB, free: 7.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.336, allocations: 61.03 kB / 494.9 MB, free: 7.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3361, allocations: 216.2 kB / 495.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3361, allocations: 32.81 kB / 495.2 MB, free: 7.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3362, allocations: 203 kB / 495.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.3362, allocations: 153.7 kB / 495.5 MB, free: 7.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.3363, allocations: 122.1 kB / 495.6 MB, free: 7.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.3364, allocations: 336.4 kB / 496 MB, free: 7.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.3364, allocations: 60.62 kB / 496 MB, free: 6.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3366, allocations: 370.9 kB / 496.4 MB, free: 6.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3369, allocations: 0.5074 MB / 496.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3369, allocations: 3.031 kB / 496.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003259/0.3372, allocations: 389.6 kB / 497.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3372, allocations: 11.94 kB / 497.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3372, allocations: 13.62 kB / 497.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3372, allocations: 13.53 kB / 497.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.3376, allocations: 197.5 kB / 497.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001334/0.3377, allocations: 0.6083 MB / 498.1 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3379, allocations: 61.02 kB / 498.2 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3379, allocations: 43.36 kB / 498.2 MB, free: 5.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 1 * 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 8.743e-05/0.338, allocations: 166 kB / 498.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.338, allocations: 37.5 kB / 498.4 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.3386, allocations: 0.5199 MB / 498.9 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3386, allocations: 5.469 kB / 499 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3386, allocations: 0 / 499 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3386, allocations: 7.984 kB / 499 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.339, allocations: 0.555 MB / 499.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.339, allocations: 2.312 kB / 499.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3392, allocations: 93.33 kB / 499.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3392, allocations: 2.781 kB / 499.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3393, allocations: 6.562 kB / 499.6 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001119/0.3394, allocations: 0.5883 MB / 0.4885 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3394, allocations: 3.938 kB / 0.4885 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.3395, allocations: 315.4 kB / 0.4888 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.3396, allocations: 41.25 kB / 0.4888 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3396, allocations: 16.73 kB / 0.4888 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.3397, allocations: 9.219 kB / 0.4889 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.3398, allocations: 30.89 kB / 0.4889 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3398, allocations: 16.05 kB / 0.4889 GB, free: 3.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.3398, allocations: 70.55 kB / 0.489 GB, free: 3.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3398, allocations: 0 / 0.489 GB, free: 3.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007535/0.3406, allocations: 437.6 kB / 0.4894 GB, free: 3.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 1 * 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.0008438/0.3414, allocations: 0.667 MB / 0.49 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.3418, allocations: 282 kB / 0.4903 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.3418, allocations: 5.312 kB / 0.4903 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3419, allocations: 110.9 kB / 0.4904 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3423, allocations: 143.8 kB / 0.4905 GB, free: 2.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.3473, allocations: 5.902 MB / 0.4963 GB, free: 1.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.3474, allocations: 99.34 kB / 0.4964 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000319/0.3477, allocations: 181.6 kB / 0.4966 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.348, allocations: 196.5 kB / 0.4968 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.348, allocations: 0 / 0.4968 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of Templates: time 0.01517/0.3631, allocations: 15.77 MB / 0.5122 GB, free: 4.832 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.887450055219233]