Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001517/0.001517, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 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.001453/0.001453, allocations: 210.7 kB / 24.54 MB, free: 3.879 MB / 14.72 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 1.433/1.433, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.94 MB / 361.4 MB, free: 4.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 79.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3149, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1796/0.4945, allocations: 139.4 MB / 0.6979 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005939/0.5004, allocations: 4.75 MB / 0.7025 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.5005, allocations: 8 kB / 0.7025 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.501, allocations: 59.59 kB / 0.7026 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.503, allocations: 0.75 MB / 0.7033 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.5034, allocations: 151.2 kB / 0.7034 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005865/0.504, allocations: 378.1 kB / 0.7038 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.5041, allocations: 21.8 kB / 0.7038 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.5043, allocations: 155.5 kB / 0.704 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.5046, allocations: 195.3 kB / 0.7042 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.5047, allocations: 8 kB / 0.7042 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5061, allocations: 0.7136 MB / 0.7049 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.5062, allocations: 51.8 kB / 0.7049 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.5064, allocations: 111.5 kB / 0.705 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.5072, allocations: 481.1 kB / 0.7055 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5072, allocations: 0 / 0.7055 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5072, allocations: 4 kB / 0.7055 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.5072, allocations: 3.938 kB / 0.7055 GB, free: 0.7422 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001139/0.5083, allocations: 0.5401 MB / 0.706 GB, free: 176 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5084, allocations: 8.031 kB / 0.706 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.5085, allocations: 24.84 kB / 0.706 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.5089, allocations: 174.3 kB / 0.7062 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.509, allocations: 119.9 kB / 0.7063 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.5091, allocations: 24.38 kB / 0.7063 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.5096, allocations: 337.9 kB / 0.7067 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5097, allocations: 0 / 0.7067 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.5097, allocations: 12 kB / 0.7067 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.5097, allocations: 7.984 kB / 0.7067 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.5106, allocations: 0.7625 MB / 0.7074 GB, free: 14.64 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.512, allocations: 1.198 MB / 0.7086 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.5124, allocations: 159.8 kB / 0.7088 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5126, allocations: 85.41 kB / 0.7088 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/0.514, allocations: 0.7113 MB / 0.7095 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5141, allocations: 34.56 kB / 0.7096 GB, free: 12.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5141, allocations: 4 kB / 0.7096 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007136/0.5148, allocations: 224.3 kB / 0.7098 GB, free: 12.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.5148, allocations: 51.41 kB / 0.7098 GB, free: 12.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.5151, allocations: 211.8 kB / 0.71 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5151, allocations: 33.7 kB / 0.7101 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.5152, allocations: 223.5 kB / 0.7103 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.5153, allocations: 47.64 kB / 0.7103 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.5154, allocations: 90.03 kB / 0.7104 GB, free: 11.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5155, allocations: 330.8 kB / 0.7107 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.5156, allocations: 52.83 kB / 0.7108 GB, free: 11.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.5159, allocations: 318.6 kB / 0.7111 GB, free: 10.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.5164, allocations: 420.4 kB / 0.7115 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5164, allocations: 4 kB / 0.7115 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005934/0.517, allocations: 385.1 kB / 0.7119 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.517, allocations: 10.34 kB / 0.7119 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.517, allocations: 12 kB / 0.7119 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.5171, allocations: 15.94 kB / 0.7119 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.5174, allocations: 112.4 kB / 0.712 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.5174, allocations: 15.94 kB / 0.712 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.5176, allocations: 20 kB / 0.712 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.5177, allocations: 35.92 kB / 0.7121 GB, free: 9.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.5178, allocations: 145.6 kB / 0.7122 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.5179, allocations: 19.91 kB / 0.7122 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.5182, allocations: 163.7 kB / 0.7124 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5182, allocations: 4 kB / 0.7124 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5182, allocations: 0 / 0.7124 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5182, allocations: 0 / 0.7124 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.5188, allocations: 407.2 kB / 0.7128 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5188, allocations: 0 / 0.7128 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.5189, allocations: 23.98 kB / 0.7128 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5189, allocations: 8.062 kB / 0.7128 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.5189, allocations: 7.984 kB / 0.7128 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5189, allocations: 7.938 kB / 0.7128 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5189, allocations: 0 / 0.7128 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.5192, allocations: 217 kB / 0.713 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.5192, allocations: 27.89 kB / 0.7131 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.5193, allocations: 7.953 kB / 0.7131 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.5195, allocations: 11.98 kB / 0.7131 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.5195, allocations: 7.984 kB / 0.7131 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5195, allocations: 8 kB / 0.7131 GB, free: 8.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001416/0.5197, allocations: 156.4 kB / 0.7132 GB, free: 8.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5197, allocations: 0 / 0.7132 GB, free: 8.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004858/0.5202, allocations: 91.88 kB / 0.7133 GB, free: 8.051 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.5205, allocations: 159.1 kB / 0.7135 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.5208, allocations: 173.1 kB / 0.7136 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5208, allocations: 4 kB / 0.7136 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.5208, allocations: 36.55 kB / 0.7137 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.5213, allocations: 56.72 kB / 0.7137 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.5223, allocations: 0.5116 MB / 0.7142 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5226, allocations: 0.7284 MB / 0.7149 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.5228, allocations: 58.91 kB / 0.715 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.5229, allocations: 27.44 kB / 0.715 GB, free: 6.238 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.5229, allocations: 8 kB / 0.715 GB, free: 6.23 MB / 0.545 GB Notification: Performance of Templates: time 0.007537/0.5304, allocations: 3.427 MB / 0.7184 GB, free: 2.832 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.467570682056248]