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.001039/0.001039, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.002059, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007517/0.0007517, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008982/0.00165, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9491/0.9491, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09191/1.041, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2597/0.2597, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02145/0.2811, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.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 2.475e-06/2.475e-06, allocations: 3.984 kB / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.348e-05, allocations: 4.625 kB / 292.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1488/0.1488, allocations: 147.9 MB / 440.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.3393, allocations: 6.449 MB / 447 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3395, allocations: 6.75 kB / 447 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.3398, allocations: 76.34 kB / 447.1 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.3447, allocations: 2.462 MB / 449.6 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.345, allocations: 171.9 kB / 449.7 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.3458, allocations: 0.5658 MB / 450.3 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.3459, allocations: 20.12 kB / 450.3 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.3463, allocations: 320.7 kB / 450.6 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.3469, allocations: 359.2 kB / 451 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.3469, allocations: 15.84 kB / 451 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.3512, allocations: 3.054 MB / 454.1 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3513, allocations: 81.58 kB / 454.1 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3514, allocations: 95.77 kB / 454.2 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3544, allocations: 1.645 MB / 455.9 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.3544, allocations: 0 / 455.9 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3544, allocations: 0.7188 kB / 455.9 MB, free: 3.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.3544, allocations: 3.469 kB / 455.9 MB, free: 3.406 MB / 426.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.002171/0.3566, allocations: 1.186 MB / 457.1 MB, free: 18.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3567, allocations: 9.969 kB / 457.1 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3568, allocations: 58.72 kB / 457.1 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3571, allocations: 185.5 kB / 457.3 MB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.3572, allocations: 234.2 kB / 457.6 MB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3572, allocations: 32.41 kB / 457.6 MB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.3576, allocations: 0.5434 MB / 458.1 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3576, allocations: 0.9062 kB / 458.1 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3576, allocations: 10.06 kB / 458.1 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.3576, allocations: 31.77 kB / 458.2 MB, free: 18.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.358, allocations: 0.5576 MB / 458.7 MB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.3591, allocations: 1.395 MB / 460.1 MB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3594, allocations: 239.1 kB / 460.4 MB, free: 17.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.3595, allocations: 69.28 kB / 460.4 MB, free: 17.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.3608, allocations: 1.04 MB / 461.5 MB, free: 16.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3608, allocations: 37.44 kB / 461.5 MB, free: 16.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.3608, allocations: 3.281 kB / 461.5 MB, free: 16.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004786/0.3613, allocations: 406.7 kB / 461.9 MB, free: 16.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3613, allocations: 53.94 kB / 462 MB, free: 16.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3614, allocations: 203.7 kB / 462.2 MB, free: 16.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3614, allocations: 37.75 kB / 462.2 MB, free: 16.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.3615, allocations: 201.2 kB / 462.4 MB, free: 16.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.3616, allocations: 154.6 kB / 462.5 MB, free: 16.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.3616, allocations: 123.2 kB / 462.7 MB, free: 16.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.3617, allocations: 346.5 kB / 463 MB, free: 15.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.3618, allocations: 61.78 kB / 463.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3619, allocations: 364.6 kB / 463.4 MB, free: 15.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3622, allocations: 0.4981 MB / 463.9 MB, free: 15.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3622, allocations: 4.5 kB / 463.9 MB, free: 15.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003469/0.3626, allocations: 400.6 kB / 464.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3626, allocations: 13.44 kB / 464.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3626, allocations: 11.28 kB / 464.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3626, allocations: 15.34 kB / 464.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.363, allocations: 218.3 kB / 464.6 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002266/0.3632, allocations: 0.6023 MB / 465.2 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3634, allocations: 59.64 kB / 465.2 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.3635, allocations: 49.34 kB / 465.3 MB, free: 14.49 MB / 442.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.0001026/0.3636, allocations: 160.1 kB / 465.4 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.3636, allocations: 38.08 kB / 465.5 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.3641, allocations: 0.5231 MB / 466 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3641, allocations: 4.438 kB / 466 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3641, allocations: 2.906 kB / 466 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3641, allocations: 0 / 466 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.3646, allocations: 0.5592 MB / 466.5 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3647, allocations: 0 / 466.5 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.3649, allocations: 102.8 kB / 466.6 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3649, allocations: 42.56 kB / 466.7 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3649, allocations: 2.969 kB / 466.7 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3649, allocations: 13.38 kB / 466.7 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001839/0.3651, allocations: 0.587 MB / 467.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3651, allocations: 4.312 kB / 467.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3653, allocations: 325.3 kB / 467.6 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3653, allocations: 9.375 kB / 467.6 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3654, allocations: 13.23 kB / 467.6 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.3655, allocations: 27.36 kB / 467.7 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3655, allocations: 20.8 kB / 467.7 MB, free: 13.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.3655, allocations: 73.22 kB / 467.8 MB, free: 13.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3655, allocations: 2.172 kB / 467.8 MB, free: 13.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009735/0.3665, allocations: 460.6 kB / 468.2 MB, free: 13.01 MB / 442.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.0009079/0.3674, allocations: 0.6927 MB / 468.9 MB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3677, allocations: 254.5 kB / 469.1 MB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.3677, allocations: 6.375 kB / 469.2 MB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.3677, allocations: 89.42 kB / 469.2 MB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3681, allocations: 195.1 kB / 469.4 MB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/0.3758, allocations: 5.905 MB / 475.3 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.3758, allocations: 96.38 kB / 475.4 MB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.3762, allocations: 178.2 kB / 475.6 MB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3765, allocations: 197.5 kB / 475.8 MB, free: 12.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3765, allocations: 1.094 kB / 475.8 MB, free: 12.22 MB / 442.7 MB Notification: Performance of Templates: time 0.01575/0.3923, allocations: 16.29 MB / 492.1 MB, free: 7.84 MB / 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 -ignoreHideResult -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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 4.0834742952138186]