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.001628/0.001628, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001866/0.001866, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.459/1.459, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2279/0.2279, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.002205/0.002205, allocations: 75.88 kB / 0.4924 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 65.98 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4497/0.5666, allocations: 139.4 MB / 0.693 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005963/0.5725, allocations: 4.735 MB / 0.6976 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.5727, allocations: 4 kB / 0.6976 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.5731, allocations: 63.58 kB / 0.6977 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.5752, allocations: 0.7411 MB / 0.6984 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.5756, allocations: 154.7 kB / 0.6985 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.5762, allocations: 382.1 kB / 0.6989 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.5762, allocations: 5.688 kB / 0.6989 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.5765, allocations: 159.5 kB / 0.6991 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.5768, allocations: 191.4 kB / 0.6992 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.5768, allocations: 11.98 kB / 0.6993 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5784, allocations: 0.7097 MB / 0.6999 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.5785, allocations: 43.83 kB / 0.7 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.5786, allocations: 111.5 kB / 0.7001 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.5795, allocations: 478.2 kB / 0.7005 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5795, allocations: 0 / 0.7005 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5795, allocations: 0 / 0.7005 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5795, allocations: 0 / 0.7005 GB, free: 14.59 MB / 0.5137 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.001221/0.5807, allocations: 0.6155 MB / 0.7012 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5808, allocations: 12.03 kB / 0.7012 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5809, allocations: 20.84 kB / 0.7012 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.5813, allocations: 232.1 kB / 0.7014 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5814, allocations: 119.9 kB / 0.7015 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.5815, allocations: 20.56 kB / 0.7015 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.582, allocations: 334.7 kB / 0.7019 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.582, allocations: 0 / 0.7019 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.5821, allocations: 15.94 kB / 0.7019 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.5821, allocations: 7.984 kB / 0.7019 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.583, allocations: 0.7391 MB / 0.7026 GB, free: 12.35 MB / 0.5137 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.001514/0.5845, allocations: 1.222 MB / 0.7038 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.5849, allocations: 171.7 kB / 0.704 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5851, allocations: 85.41 kB / 0.704 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/0.5878, allocations: 2.707 MB / 0.7067 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.5879, allocations: 38.55 kB / 0.7067 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.5879, allocations: 0 / 0.7067 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007146/0.5886, allocations: 220.9 kB / 0.7069 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.5886, allocations: 55.34 kB / 0.707 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.5889, allocations: 220.1 kB / 0.7072 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.5889, allocations: 29.7 kB / 0.7072 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.589, allocations: 219.5 kB / 0.7074 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.5891, allocations: 51.58 kB / 0.7075 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5892, allocations: 86.03 kB / 0.7076 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5894, allocations: 330.8 kB / 0.7079 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.5895, allocations: 52.84 kB / 0.7079 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.5898, allocations: 321.2 kB / 0.7082 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.5903, allocations: 412.3 kB / 0.7086 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5903, allocations: 4 kB / 0.7086 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006271/0.5909, allocations: 381.3 kB / 0.709 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5909, allocations: 10.03 kB / 0.709 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5909, allocations: 8 kB / 0.709 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.591, allocations: 16 kB / 0.709 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.5913, allocations: 111.8 kB / 0.7091 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/0.5913, allocations: 15.94 kB / 0.7091 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5916, allocations: 16.44 kB / 0.7092 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.5916, allocations: 31.98 kB / 0.7092 GB, free: 4.633 MB / 0.5137 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.0001403/0.5917, allocations: 153.6 kB / 0.7093 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.5918, allocations: 23.84 kB / 0.7094 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.5921, allocations: 153.7 kB / 0.7095 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5921, allocations: 3.938 kB / 0.7095 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5921, allocations: 0 / 0.7095 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.5921, allocations: 3.938 kB / 0.7095 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.5927, allocations: 444.8 kB / 0.7099 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5927, allocations: 0 / 0.7099 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.5929, allocations: 35.91 kB / 0.71 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5929, allocations: 0 / 0.71 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5929, allocations: 8.062 kB / 0.71 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5929, allocations: 0 / 0.71 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5929, allocations: 0 / 0.71 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5932, allocations: 221 kB / 0.7102 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.5933, allocations: 97 kB / 0.7103 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.5933, allocations: 7.953 kB / 0.7103 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5935, allocations: 19.12 kB / 0.7103 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.5935, allocations: 19.86 kB / 0.7103 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5936, allocations: 4 kB / 0.7103 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001372/0.5937, allocations: 152.5 kB / 0.7105 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.5937, allocations: 0 / 0.7105 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004852/0.5942, allocations: 95.88 kB / 0.7106 GB, free: 3.105 MB / 0.5137 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.0002897/0.5945, allocations: 155.2 kB / 0.7107 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.5948, allocations: 177.9 kB / 0.7109 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5948, allocations: 0 / 0.7109 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.5949, allocations: 35.97 kB / 0.7109 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5953, allocations: 60.88 kB / 0.711 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.5963, allocations: 0.5331 MB / 0.7115 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.5967, allocations: 0.7285 MB / 0.7122 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.5968, allocations: 31.44 kB / 0.7122 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.5968, allocations: 3.938 kB / 0.7122 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.006115/0.6029, allocations: 3.34 MB / 0.7155 GB, free: 14 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.134376737987623]