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.001387/0.001387, allocations: 114.5 kB / 21.18 MB, free: 0.6094 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.001881/0.001881, allocations: 206.8 kB / 24.47 MB, free: 4.016 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.569/1.569, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2665/0.2665, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] 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.002342/0.002342, allocations: 79.86 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3581, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1806/0.5387, allocations: 139.4 MB / 0.6974 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005736/0.5444, allocations: 4.746 MB / 0.702 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.5445, allocations: 0 / 0.702 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.5449, allocations: 71.45 kB / 0.7021 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.5469, allocations: 0.7384 MB / 0.7028 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.5473, allocations: 154.9 kB / 0.703 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.5478, allocations: 370.2 kB / 0.7033 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.5479, allocations: 9.688 kB / 0.7033 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.5481, allocations: 163.4 kB / 0.7035 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.5484, allocations: 199.3 kB / 0.7037 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.5484, allocations: 12 kB / 0.7037 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.5499, allocations: 0.7058 MB / 0.7044 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.55, allocations: 43.83 kB / 0.7044 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.5502, allocations: 103.5 kB / 0.7045 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.5511, allocations: 489.3 kB / 0.705 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5511, allocations: 0 / 0.705 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5511, allocations: 0 / 0.705 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5511, allocations: 4 kB / 0.705 GB, free: 1.25 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.001245/0.5523, allocations: 0.6077 MB / 0.7056 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5523, allocations: 15.97 kB / 0.7056 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.5525, allocations: 28.84 kB / 0.7056 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.5529, allocations: 232 kB / 0.7058 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.5531, allocations: 127.9 kB / 0.706 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.5531, allocations: 20.38 kB / 0.706 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.5537, allocations: 326.9 kB / 0.7063 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5537, allocations: 3.938 kB / 0.7063 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.5537, allocations: 12 kB / 0.7063 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.5538, allocations: 8 kB / 0.7063 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.5546, allocations: 0.7391 MB / 0.707 GB, free: 15 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.001504/0.5561, allocations: 1.227 MB / 0.7082 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.5566, allocations: 159.8 kB / 0.7084 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5567, allocations: 85.42 kB / 0.7085 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/0.5594, allocations: 2.703 MB / 0.7111 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5595, allocations: 34.56 kB / 0.7112 GB, free: 10.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/0.5595, allocations: 0 / 0.7112 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007119/0.5602, allocations: 224.4 kB / 0.7114 GB, free: 9.938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.5602, allocations: 51.41 kB / 0.7114 GB, free: 9.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5605, allocations: 216.1 kB / 0.7116 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.5605, allocations: 37.7 kB / 0.7117 GB, free: 9.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.5607, allocations: 219.5 kB / 0.7119 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.5607, allocations: 51.58 kB / 0.7119 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5608, allocations: 86.03 kB / 0.712 GB, free: 9.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.561, allocations: 326.8 kB / 0.7123 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.5611, allocations: 52.83 kB / 0.7124 GB, free: 8.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.5615, allocations: 321.2 kB / 0.7127 GB, free: 8.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.562, allocations: 424.2 kB / 0.7131 GB, free: 7.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.562, allocations: 4 kB / 0.7131 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006094/0.5626, allocations: 377.6 kB / 0.7134 GB, free: 7.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5626, allocations: 10.38 kB / 0.7134 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5626, allocations: 16 kB / 0.7135 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.5627, allocations: 15.94 kB / 0.7135 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.563, allocations: 107.8 kB / 0.7136 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.563, allocations: 20 kB / 0.7136 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5632, allocations: 19.98 kB / 0.7136 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.5633, allocations: 39.91 kB / 0.7137 GB, free: 7.277 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.0001511/0.5634, allocations: 145.7 kB / 0.7138 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.5635, allocations: 19.91 kB / 0.7138 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.5638, allocations: 155.8 kB / 0.714 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5638, allocations: 0 / 0.714 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5638, allocations: 4 kB / 0.714 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5638, allocations: 0 / 0.714 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.5645, allocations: 448 kB / 0.7144 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5645, allocations: 0 / 0.7144 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5646, allocations: 27.98 kB / 0.7144 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5646, allocations: 0 / 0.7144 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5646, allocations: 11.98 kB / 0.7144 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5646, allocations: 0 / 0.7144 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5646, allocations: 0 / 0.7144 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.5649, allocations: 236.9 kB / 0.7147 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.565, allocations: 97 kB / 0.7147 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.565, allocations: 11.95 kB / 0.7148 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.5652, allocations: 7.984 kB / 0.7148 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.5653, allocations: 11.98 kB / 0.7148 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5653, allocations: 4 kB / 0.7148 GB, free: 5.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001395/0.5654, allocations: 156.5 kB / 0.7149 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5654, allocations: 0 / 0.7149 GB, free: 5.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004829/0.5659, allocations: 95.88 kB / 0.715 GB, free: 5.754 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.0003057/0.5662, allocations: 151.1 kB / 0.7152 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.5665, allocations: 173.7 kB / 0.7153 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5666, allocations: 4 kB / 0.7153 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.5666, allocations: 31.92 kB / 0.7154 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.5671, allocations: 52.31 kB / 0.7154 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.5681, allocations: 0.5143 MB / 0.7159 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.5685, allocations: 0.7245 MB / 0.7166 GB, free: 4.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.5687, allocations: 66.89 kB / 0.7167 GB, free: 3.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.5687, allocations: 23.44 kB / 0.7167 GB, free: 3.953 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.5687, allocations: 0 / 0.7167 GB, free: 3.953 MB / 0.545 GB Notification: Performance of Templates: time 0.007869/0.5766, allocations: 3.366 MB / 0.72 GB, free: 0.6172 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 cvode -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: 5.6559957498684525]