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.001937/0.001937, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002018/0.002018, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.3755/0.3755, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|dddX.2.|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.1.|dddX.2.|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 2.264e-06/2.264e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.835e-05, allocations: 6.25 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3546/0.3546, allocations: 147.8 MB / 0.5108 GB, free: 18.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009835/0.3645, allocations: 10.68 MB / 0.5212 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3646, allocations: 2.656 kB / 0.5212 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.365, allocations: 74.62 kB / 0.5213 GB, free: 11.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.3724, allocations: 3.18 MB / 0.5244 GB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3727, allocations: 160.6 kB / 0.5246 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.3733, allocations: 0.5385 MB / 0.5251 GB, free: 9.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.3733, allocations: 13.16 kB / 0.5251 GB, free: 9.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.3737, allocations: 308.8 kB / 0.5254 GB, free: 9.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.3743, allocations: 365 kB / 0.5257 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.3744, allocations: 13.94 kB / 0.5258 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007228/0.3816, allocations: 4.04 MB / 0.5297 GB, free: 8.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3818, allocations: 110.3 kB / 0.5298 GB, free: 8.383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3819, allocations: 122.9 kB / 0.5299 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.3872, allocations: 2.645 MB / 0.5325 GB, free: 7.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3872, allocations: 0 / 0.5325 GB, free: 7.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3872, allocations: 3.938 kB / 0.5325 GB, free: 7.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3872, allocations: 6.875 kB / 0.5325 GB, free: 7.566 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.002173/0.3894, allocations: 1.121 MB / 0.5336 GB, free: 6.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3894, allocations: 8.094 kB / 0.5336 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.3897, allocations: 65.83 kB / 0.5337 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3899, allocations: 192.7 kB / 0.5339 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.39, allocations: 235.1 kB / 0.5341 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.3901, allocations: 41.7 kB / 0.5341 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.3907, allocations: 0.6008 MB / 0.5347 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3907, allocations: 0 / 0.5347 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.3907, allocations: 11 kB / 0.5347 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.3908, allocations: 28.09 kB / 0.5348 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.3917, allocations: 0.8964 MB / 0.5356 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.3936, allocations: 1.928 MB / 0.5375 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.3942, allocations: 247.6 kB / 0.5378 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3943, allocations: 102.2 kB / 0.5379 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/0.3964, allocations: 1.105 MB / 0.5389 GB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3964, allocations: 39.77 kB / 0.539 GB, free: 3.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.3964, allocations: 4 kB / 0.539 GB, free: 3.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001645/0.398, allocations: 0.7202 MB / 0.5397 GB, free: 2.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3981, allocations: 58.8 kB / 0.5397 GB, free: 2.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3982, allocations: 279.7 kB / 0.54 GB, free: 2.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3982, allocations: 36.41 kB / 0.54 GB, free: 2.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.3983, allocations: 249.5 kB / 0.5403 GB, free: 2.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.3984, allocations: 163.1 kB / 0.5404 GB, free: 2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.3986, allocations: 147.8 kB / 0.5406 GB, free: 1.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.3987, allocations: 0.5085 MB / 0.5411 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3988, allocations: 94.33 kB / 0.5412 GB, free: 1.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.3991, allocations: 0.5267 MB / 0.5417 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.3997, allocations: 0.6934 MB / 0.5423 GB, free: 15.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3997, allocations: 7.938 kB / 0.5424 GB, free: 15.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009752/0.4006, allocations: 0.5554 MB / 0.5429 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4007, allocations: 15.91 kB / 0.5429 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4007, allocations: 13.61 kB / 0.5429 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.4007, allocations: 14.31 kB / 0.5429 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.4014, allocations: 200.1 kB / 0.5431 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4026, allocations: 1.813 MB / 0.5449 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.4029, allocations: 23.75 kB / 0.5449 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.403, allocations: 53.8 kB / 0.545 GB, free: 13.8 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.0002403/0.4032, allocations: 213.4 kB / 0.5452 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4033, allocations: 46.55 kB / 0.5452 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.4046, allocations: 0.6798 MB / 0.5459 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4046, allocations: 2.812 kB / 0.5459 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4046, allocations: 0 / 0.5459 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4046, allocations: 0 / 0.5459 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4057, allocations: 0.6654 MB / 0.5465 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4057, allocations: 6.703 kB / 0.5465 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.4061, allocations: 99.84 kB / 0.5466 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4061, allocations: 0 / 0.5466 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4062, allocations: 9.656 kB / 0.5466 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.4073, allocations: 1.795 MB / 0.5484 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4073, allocations: 3.984 kB / 0.5484 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.4079, allocations: 428.5 kB / 0.5488 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.408, allocations: 47.17 kB / 0.5489 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.4081, allocations: 17.56 kB / 0.5489 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.4083, allocations: 11.97 kB / 0.5489 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.4083, allocations: 20.61 kB / 0.5489 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.4084, allocations: 19.61 kB / 0.5489 GB, free: 10.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.4086, allocations: 206.6 kB / 0.5491 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4086, allocations: 0 / 0.5491 GB, free: 10.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001812/0.4104, allocations: 0.5092 MB / 0.5496 GB, free: 10.01 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.001969/0.4124, allocations: 0.7966 MB / 0.5504 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.4134, allocations: 371.9 kB / 0.5508 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4134, allocations: 0 / 0.5508 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.4138, allocations: 156.6 kB / 0.5509 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008437/0.4146, allocations: 150.8 kB / 0.551 GB, free: 8.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4251, allocations: 5.893 MB / 0.5568 GB, free: 2.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4253, allocations: 152.7 kB / 0.5569 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006369/0.4259, allocations: 198.8 kB / 0.5571 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4261, allocations: 68.47 kB / 0.5572 GB, free: 2.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4261, allocations: 0 / 0.5572 GB, free: 2.277 MB / 426.7 MB Notification: Performance of Templates: time 0.02722/0.4533, allocations: 15.53 MB / 0.5724 GB, free: 2.898 MB / 442.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",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: 6.357071170001291]