Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001143/0.001143, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001238/0.001238, allocations: 162.8 kB / 24.99 MB, free: 8.746 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 0.9964/0.9964, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2536/0.2536, allocations: 34.25 MB / 296 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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|s_is|eps",fileNamePrefix="ModelicaTest_4.1.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|s_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.827e-05, allocations: 6.312 kB / 378.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.2967/0.2967, allocations: 147.8 MB / 0.5135 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.3046, allocations: 10.67 MB / 0.524 GB, free: 9.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3048, allocations: 2.625 kB / 0.524 GB, free: 9.637 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.3052, allocations: 78.72 kB / 0.524 GB, free: 9.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.3128, allocations: 3.174 MB / 0.5271 GB, free: 8.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.3132, allocations: 159.7 kB / 0.5273 GB, free: 7.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.3139, allocations: 0.5422 MB / 0.5278 GB, free: 7.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.3139, allocations: 14.47 kB / 0.5278 GB, free: 7.715 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.3143, allocations: 305.1 kB / 0.5281 GB, free: 7.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.315, allocations: 371.9 kB / 0.5285 GB, free: 7.508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.315, allocations: 14.38 kB / 0.5285 GB, free: 7.508 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006801/0.3218, allocations: 4.037 MB / 0.5324 GB, free: 6.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.322, allocations: 106 kB / 0.5325 GB, free: 6.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3221, allocations: 118.9 kB / 0.5327 GB, free: 6.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005759/0.3279, allocations: 2.608 MB / 0.5352 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3279, allocations: 0 / 0.5352 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3279, allocations: 0 / 0.5352 GB, free: 5.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3279, allocations: 0 / 0.5352 GB, free: 5.5 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.002499/0.3304, allocations: 1.11 MB / 0.5363 GB, free: 4.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3305, allocations: 15.22 kB / 0.5363 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.3307, allocations: 74.17 kB / 0.5364 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.331, allocations: 200.4 kB / 0.5366 GB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3311, allocations: 228.7 kB / 0.5368 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.3312, allocations: 30.69 kB / 0.5368 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.3317, allocations: 0.5915 MB / 0.5374 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3317, allocations: 7.922 kB / 0.5374 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3318, allocations: 17.5 kB / 0.5374 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/0.3318, allocations: 24.86 kB / 0.5374 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.3325, allocations: 0.6997 MB / 0.5381 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.3342, allocations: 1.879 MB / 0.54 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3347, allocations: 227.2 kB / 0.5402 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3348, allocations: 93.72 kB / 0.5403 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.3363, allocations: 1.087 MB / 0.5413 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3364, allocations: 46.48 kB / 0.5414 GB, free: 0.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.306e-06/0.3364, allocations: 0 / 0.5414 GB, free: 0.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001459/0.3378, allocations: 0.6749 MB / 0.542 GB, free: 468 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.3379, allocations: 57.06 kB / 0.5421 GB, free: 404 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.338, allocations: 274.6 kB / 0.5423 GB, free: 164 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.338, allocations: 31.89 kB / 0.5424 GB, free: 128 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3381, allocations: 254 kB / 0.5426 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.3382, allocations: 158.1 kB / 0.5428 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3384, allocations: 145.4 kB / 0.5429 GB, free: 15.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3385, allocations: 0.5081 MB / 0.5434 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3387, allocations: 73.94 kB / 0.5435 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.339, allocations: 0.5148 MB / 0.544 GB, free: 14.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.3397, allocations: 0.6655 MB / 0.5446 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3397, allocations: 3.125 kB / 0.5446 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007703/0.3404, allocations: 0.5163 MB / 0.5451 GB, free: 13.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3405, allocations: 8.562 kB / 0.5451 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3405, allocations: 11.56 kB / 0.5451 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.3405, allocations: 14.69 kB / 0.5452 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.341, allocations: 203.6 kB / 0.5454 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000656/0.3417, allocations: 1.811 MB / 0.5471 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.3419, allocations: 22.5 kB / 0.5471 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.342, allocations: 54.08 kB / 0.5472 GB, free: 11.61 MB / 426.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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.3422, allocations: 203 kB / 0.5474 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.3423, allocations: 42.48 kB / 0.5474 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/0.3432, allocations: 0.6479 MB / 0.5481 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.3432, allocations: 5.719 kB / 0.5481 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3432, allocations: 0.6875 kB / 0.5481 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3432, allocations: 3.984 kB / 0.5481 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.344, allocations: 0.6194 MB / 0.5487 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.344, allocations: 0 / 0.5487 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.3443, allocations: 104.7 kB / 0.5488 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3443, allocations: 2.781 kB / 0.5488 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3443, allocations: 13.27 kB / 0.5488 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.3449, allocations: 1.79 MB / 0.5505 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3449, allocations: 2.438 kB / 0.5505 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.3453, allocations: 406.2 kB / 0.5509 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.3454, allocations: 46.02 kB / 0.551 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.3454, allocations: 6.906 kB / 0.551 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3456, allocations: 13.83 kB / 0.551 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3456, allocations: 24.08 kB / 0.551 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.3457, allocations: 22.08 kB / 0.551 GB, free: 8.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3458, allocations: 201.1 kB / 0.5512 GB, free: 7.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3458, allocations: 0 / 0.5512 GB, free: 7.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001533/0.3473, allocations: 0.5061 MB / 0.5517 GB, free: 7.484 MB / 426.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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.3489, allocations: 0.7938 MB / 0.5525 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.3496, allocations: 343.4 kB / 0.5528 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3496, allocations: 4.188 kB / 0.5528 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.3499, allocations: 140.2 kB / 0.553 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.3505, allocations: 142.6 kB / 0.5531 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.3633, allocations: 5.886 MB / 0.5588 GB, free: 128 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.3634, allocations: 102.8 kB / 0.5589 GB, free: 0 / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005654/0.364, allocations: 191.8 kB / 0.5591 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.3641, allocations: 76.39 kB / 0.5592 GB, free: 15.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3641, allocations: 0 / 0.5592 GB, free: 15.74 MB / 442.7 MB Notification: Performance of Templates: time 0.02124/0.3854, allocations: 15.53 MB / 0.5744 GB, free: 364 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.215525628998876]