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.001285/0.001285, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001566/0.001566, allocations: 207.4 kB / 25.12 MB, free: 3.59 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.423/1.423, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2442/0.2442, allocations: 46.94 MB / 362.1 MB, free: 4.215 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.002363/0.002363, allocations: 79.88 kB / 0.4978 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3254, allocations: 66.08 MB / 0.5624 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1734/0.4988, allocations: 137.5 MB / 0.6967 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.5049, allocations: 4.699 MB / 0.7013 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.505, allocations: 0 / 0.7013 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.5054, allocations: 63.59 kB / 0.7013 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.5076, allocations: 0.7423 MB / 0.7021 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.508, allocations: 159.2 kB / 0.7022 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000589/0.5086, allocations: 390.1 kB / 0.7026 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.5086, allocations: 13.8 kB / 0.7026 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.5088, allocations: 155.4 kB / 0.7027 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.5092, allocations: 195.3 kB / 0.7029 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.5092, allocations: 12 kB / 0.7029 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5105, allocations: 0.6202 MB / 0.7035 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.5106, allocations: 51.75 kB / 0.7036 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.5107, allocations: 103.5 kB / 0.7037 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.5115, allocations: 469.1 kB / 0.7041 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5115, allocations: 0 / 0.7041 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5115, allocations: 0 / 0.7041 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5115, allocations: 0 / 0.7041 GB, free: 2.496 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.001122/0.5126, allocations: 0.5362 MB / 0.7047 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5126, allocations: 8.031 kB / 0.7047 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.5128, allocations: 32.77 kB / 0.7047 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5132, allocations: 178.2 kB / 0.7049 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.5134, allocations: 222.7 kB / 0.7051 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.5134, allocations: 28.38 kB / 0.7051 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.514, allocations: 0.5057 MB / 0.7056 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.514, allocations: 0 / 0.7056 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.5141, allocations: 12 kB / 0.7056 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.5141, allocations: 8 kB / 0.7056 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.515, allocations: 0.7586 MB / 0.7064 GB, free: 44 kB / 0.5294 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.001483/0.5164, allocations: 1.205 MB / 0.7075 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.5169, allocations: 159.8 kB / 0.7077 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.517, allocations: 85.41 kB / 0.7078 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.5184, allocations: 0.692 MB / 0.7085 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5185, allocations: 34.56 kB / 0.7085 GB, free: 13.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.5185, allocations: 4 kB / 0.7085 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006714/0.5192, allocations: 228.3 kB / 0.7087 GB, free: 13.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.5192, allocations: 51.41 kB / 0.7088 GB, free: 13.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.5194, allocations: 216.1 kB / 0.709 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5194, allocations: 33.7 kB / 0.709 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5196, allocations: 219.5 kB / 0.7092 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5196, allocations: 55.61 kB / 0.7093 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5197, allocations: 86.03 kB / 0.7093 GB, free: 12.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5199, allocations: 330.8 kB / 0.7097 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.52, allocations: 52.78 kB / 0.7097 GB, free: 12.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.5203, allocations: 321.2 kB / 0.71 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.5208, allocations: 420.3 kB / 0.7104 GB, free: 11.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5208, allocations: 4 kB / 0.7104 GB, free: 11.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006024/0.5214, allocations: 377.2 kB / 0.7108 GB, free: 11.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5214, allocations: 8 kB / 0.7108 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5215, allocations: 12 kB / 0.7108 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.5215, allocations: 15.94 kB / 0.7108 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.5218, allocations: 108.4 kB / 0.7109 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.5219, allocations: 19.92 kB / 0.7109 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.5221, allocations: 23.98 kB / 0.711 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.5221, allocations: 35.88 kB / 0.711 GB, free: 10.84 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.0001326/0.5222, allocations: 149.6 kB / 0.7111 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.5223, allocations: 23.89 kB / 0.7112 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.5226, allocations: 147.8 kB / 0.7113 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5226, allocations: 3.938 kB / 0.7113 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5226, allocations: 4 kB / 0.7113 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5226, allocations: 3.984 kB / 0.7113 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.5232, allocations: 407.2 kB / 0.7117 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5232, allocations: 4 kB / 0.7117 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.5233, allocations: 28.05 kB / 0.7117 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5233, allocations: 4 kB / 0.7117 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.5234, allocations: 0 / 0.7117 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5234, allocations: 0 / 0.7117 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5234, allocations: 4 kB / 0.7117 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.5236, allocations: 224.9 kB / 0.712 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.5237, allocations: 27.88 kB / 0.712 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.5237, allocations: 15.95 kB / 0.712 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.5239, allocations: 4 kB / 0.712 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.524, allocations: 15.97 kB / 0.712 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.524, allocations: 4 kB / 0.712 GB, free: 9.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001377/0.5241, allocations: 152.5 kB / 0.7122 GB, free: 9.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5241, allocations: 0 / 0.7122 GB, free: 9.547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005106/0.5246, allocations: 95.88 kB / 0.7123 GB, free: 9.453 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.000268/0.5249, allocations: 159 kB / 0.7124 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.5252, allocations: 169.4 kB / 0.7126 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5252, allocations: 0 / 0.7126 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.5253, allocations: 32.61 kB / 0.7126 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.5257, allocations: 60.62 kB / 0.7127 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.5267, allocations: 0.5154 MB / 0.7132 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.527, allocations: 0.7285 MB / 0.7139 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000187/0.5272, allocations: 54.92 kB / 0.7139 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.5273, allocations: 27.42 kB / 0.7139 GB, free: 7.645 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5273, allocations: 4 kB / 0.714 GB, free: 7.641 MB / 0.545 GB Notification: Performance of Templates: time 0.007997/0.5353, allocations: 3.448 MB / 0.7173 GB, free: 4.23 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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.328161962097511]