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.0008985/0.0008985, 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.0009027/0.0009027, 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.9455/0.9455, 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.2459/0.2459, allocations: 34.85 MB / 296.6 MB, free: 400 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 1.102e-06/1.102e-06, allocations: 0 / 325.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.805e-05, allocations: 4.984 kB / 325.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.31/0.31, allocations: 147.5 MB / 473.4 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.3147, allocations: 6.43 MB / 479.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.3148, allocations: 4.094 kB / 479.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3152, allocations: 94.03 kB / 479.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.3194, allocations: 2.58 MB / 482.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.3197, allocations: 171 kB / 482.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.3202, allocations: 0.567 MB / 483.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.3203, allocations: 22.94 kB / 483.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.3206, allocations: 319 kB / 483.6 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.3211, allocations: 360.8 kB / 483.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.3211, allocations: 16.47 kB / 484 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.3243, allocations: 2.928 MB / 486.9 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.3244, allocations: 116.5 kB / 487 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.3244, allocations: 120.9 kB / 487.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.3265, allocations: 1.959 MB / 489.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3265, allocations: 0 / 489.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3265, allocations: 0 / 489.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3265, allocations: 0 / 489.1 MB, free: 11.32 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.001331/0.3278, allocations: 0.8913 MB / 490 MB, free: 10.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3278, allocations: 11.28 kB / 490 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.328, allocations: 63.91 kB / 490 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3281, allocations: 176.5 kB / 490.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.3282, allocations: 236.6 kB / 490.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3282, allocations: 28.16 kB / 490.5 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.3285, allocations: 0.5403 MB / 491 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3285, allocations: 2.281 kB / 491 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3286, allocations: 12.78 kB / 491 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.3286, allocations: 34.48 kB / 491.1 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.329, allocations: 0.5543 MB / 491.6 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.3299, allocations: 1.409 MB / 493 MB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.3302, allocations: 232 kB / 493.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.3303, allocations: 68.58 kB / 493.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.3313, allocations: 1.04 MB / 494.4 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3313, allocations: 36.69 kB / 494.4 MB, free: 8.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.3313, allocations: 0 / 494.4 MB, free: 8.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004363/0.3318, allocations: 407.2 kB / 494.8 MB, free: 7.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/0.3318, allocations: 60.62 kB / 494.8 MB, free: 7.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.3319, allocations: 210.6 kB / 495 MB, free: 7.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3319, allocations: 35.27 kB / 495.1 MB, free: 7.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.3319, allocations: 199.3 kB / 495.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.332, allocations: 154.1 kB / 495.4 MB, free: 7.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.332, allocations: 127.7 kB / 495.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.3321, allocations: 332.4 kB / 495.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.3321, allocations: 65.09 kB / 495.9 MB, free: 7.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3323, allocations: 367.7 kB / 496.3 MB, free: 6.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3325, allocations: 0.5062 MB / 496.8 MB, free: 6.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3325, allocations: 3.031 kB / 496.8 MB, free: 6.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003104/0.3328, allocations: 402.1 kB / 497.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3328, allocations: 9.656 kB / 497.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3328, allocations: 10.88 kB / 497.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3329, allocations: 14.31 kB / 497.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.3332, allocations: 178.5 kB / 497.4 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/0.3333, allocations: 0.6039 MB / 498 MB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3335, allocations: 61.08 kB / 498.1 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.3335, allocations: 46.61 kB / 498.1 MB, free: 5.262 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.369e-05/0.3336, allocations: 162.5 kB / 498.3 MB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3336, allocations: 35 kB / 498.3 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.3341, allocations: 0.518 MB / 498.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3341, allocations: 5.938 kB / 498.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3341, allocations: 0 / 498.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3341, allocations: 3.984 kB / 498.8 MB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3345, allocations: 0.55 MB / 499.4 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3345, allocations: 7.984 kB / 499.4 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3347, allocations: 86.03 kB / 499.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3347, allocations: 11.23 kB / 499.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3347, allocations: 6.094 kB / 499.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.285e-05/0.3348, allocations: 0.5855 MB / 0.4884 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3348, allocations: 3.938 kB / 0.4884 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.335, allocations: 323.2 kB / 0.4887 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.335, allocations: 40.84 kB / 0.4887 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3351, allocations: 12.77 kB / 0.4887 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3352, allocations: 8.688 kB / 0.4887 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.3352, allocations: 32.77 kB / 0.4888 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3352, allocations: 12.36 kB / 0.4888 GB, free: 3.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.3353, allocations: 69.34 kB / 0.4888 GB, free: 3.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3353, allocations: 2.75 kB / 0.4888 GB, free: 3.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006895/0.336, allocations: 438 kB / 0.4893 GB, free: 3.453 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.0008234/0.3368, allocations: 0.6579 MB / 0.4899 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3371, allocations: 284.7 kB / 0.4902 GB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.3371, allocations: 5.719 kB / 0.4902 GB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3373, allocations: 110 kB / 0.4903 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3376, allocations: 148.1 kB / 0.4904 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.3425, allocations: 5.903 MB / 0.4962 GB, free: 1.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.3425, allocations: 99.06 kB / 0.4963 GB, free: 1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.3428, allocations: 180.9 kB / 0.4965 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.3431, allocations: 193.2 kB / 0.4966 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3431, allocations: 0 / 0.4966 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of Templates: time 0.01401/0.3571, allocations: 15.77 MB / 0.512 GB, free: 4.926 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 -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.7896144818514585]