Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2969/0.2969, allocations: 32.81 MB / 294.6 MB, free: 1.129 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_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|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.571e-05, allocations: 5.5 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3292/0.3292, allocations: 147.5 MB / 470.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.3342, allocations: 6.431 MB / 477.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3343, allocations: 3.031 kB / 477.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3347, allocations: 91.25 kB / 477.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.3396, allocations: 2.469 MB / 479.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3399, allocations: 173.1 kB / 480 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.3406, allocations: 0.5689 MB / 480.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.3407, allocations: 16 kB / 480.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.3412, allocations: 319.6 kB / 480.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.3418, allocations: 365.9 kB / 481.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.3418, allocations: 13.75 kB / 481.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.3464, allocations: 3.051 MB / 484.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3465, allocations: 106.2 kB / 484.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3467, allocations: 123.3 kB / 484.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.3509, allocations: 1.957 MB / 486.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3509, allocations: 0 / 486.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3509, allocations: 0 / 486.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3509, allocations: 0 / 486.5 MB, free: 11.59 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.001774/0.3527, allocations: 0.8884 MB / 487.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3527, allocations: 11.28 kB / 487.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3529, allocations: 64.69 kB / 487.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3531, allocations: 177.2 kB / 487.6 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.3531, allocations: 237.1 kB / 487.8 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.3532, allocations: 34.73 kB / 487.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.3535, allocations: 0.5379 MB / 488.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3535, allocations: 3.938 kB / 488.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3536, allocations: 16.17 kB / 488.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.3536, allocations: 30.19 kB / 488.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.354, allocations: 0.5544 MB / 489 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3551, allocations: 1.406 MB / 490.4 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3554, allocations: 230.3 kB / 490.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.3554, allocations: 79.69 kB / 490.7 MB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.3566, allocations: 1.031 MB / 491.8 MB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3567, allocations: 42.84 kB / 491.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.3567, allocations: 0 / 491.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005012/0.3572, allocations: 407.3 kB / 492.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.3572, allocations: 57.06 kB / 492.3 MB, free: 8.344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.3573, allocations: 211.1 kB / 492.5 MB, free: 8.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3573, allocations: 34.64 kB / 492.5 MB, free: 8.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.3573, allocations: 200.5 kB / 492.7 MB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.3574, allocations: 154.6 kB / 492.8 MB, free: 7.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.3575, allocations: 123.9 kB / 493 MB, free: 7.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.3575, allocations: 337.7 kB / 493.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.3576, allocations: 63.34 kB / 493.4 MB, free: 7.504 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3577, allocations: 365.5 kB / 493.7 MB, free: 7.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.358, allocations: 0.5085 MB / 494.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.358, allocations: 2.781 kB / 494.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000345/0.3584, allocations: 391.8 kB / 494.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3584, allocations: 11.5 kB / 494.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3584, allocations: 11.83 kB / 494.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3584, allocations: 13.5 kB / 494.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.3588, allocations: 195.6 kB / 494.8 MB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001484/0.3589, allocations: 0.6056 MB / 495.4 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3591, allocations: 57.05 kB / 495.5 MB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.3592, allocations: 48.58 kB / 495.5 MB, free: 5.754 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 0.0001355/0.3593, allocations: 169.2 kB / 495.7 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3594, allocations: 38.38 kB / 495.7 MB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.3599, allocations: 0.5198 MB / 496.3 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3599, allocations: 4.875 kB / 496.3 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3599, allocations: 0 / 496.3 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3599, allocations: 3.984 kB / 496.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.3604, allocations: 0.5493 MB / 496.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3604, allocations: 3.031 kB / 496.8 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3607, allocations: 100.6 kB / 496.9 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3607, allocations: 2.75 kB / 496.9 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3607, allocations: 9.688 kB / 496.9 MB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001102/0.3608, allocations: 0.5948 MB / 497.5 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3608, allocations: 3.938 kB / 497.5 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.361, allocations: 312.5 kB / 497.8 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.361, allocations: 41.8 kB / 497.9 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3611, allocations: 11.88 kB / 497.9 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3612, allocations: 9.094 kB / 497.9 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3612, allocations: 31.64 kB / 497.9 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3612, allocations: 15.58 kB / 497.9 MB, free: 4.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.054e-05/0.3613, allocations: 73.44 kB / 498 MB, free: 4.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3613, allocations: 0 / 498 MB, free: 4.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001182/0.3625, allocations: 440.2 kB / 498.4 MB, free: 3.934 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.001088/0.3635, allocations: 0.6566 MB / 499.1 MB, free: 3.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000451/0.364, allocations: 287.3 kB / 499.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.364, allocations: 6.25 kB / 499.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3642, allocations: 116.1 kB / 499.5 MB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3646, allocations: 137.7 kB / 499.6 MB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.37, allocations: 5.896 MB / 0.4937 GB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.37, allocations: 101.2 kB / 0.4938 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000455/0.3705, allocations: 177.8 kB / 0.4939 GB, free: 1.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.3708, allocations: 202.8 kB / 0.4941 GB, free: 1.305 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3708, allocations: 0 / 0.4941 GB, free: 1.305 MB / 410.7 MB Notification: Performance of Templates: time 0.01795/0.3887, allocations: 15.78 MB / 0.5096 GB, free: 6.219 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.060487509239465]