Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.00137/0.00137, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001508/0.001508, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 46.96 MB / 361.6 MB, free: 4.016 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+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.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_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_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 79.81 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2718, allocations: 66.03 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1668/0.4386, allocations: 119.7 MB / 0.6787 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007583/0.4462, allocations: 4.24 MB / 0.6829 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.4463, allocations: 8 kB / 0.6829 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.4467, allocations: 55.61 kB / 0.6829 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.449, allocations: 0.7462 MB / 0.6837 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.4495, allocations: 163.2 kB / 0.6838 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.4502, allocations: 374.2 kB / 0.6842 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.4502, allocations: 21.69 kB / 0.6842 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.4505, allocations: 163.4 kB / 0.6843 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.4509, allocations: 191.4 kB / 0.6845 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.4509, allocations: 8 kB / 0.6845 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.4524, allocations: 0.6163 MB / 0.6851 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.4525, allocations: 47.75 kB / 0.6852 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.4527, allocations: 99.58 kB / 0.6853 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000908/0.4536, allocations: 465 kB / 0.6857 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4536, allocations: 0 / 0.6857 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4536, allocations: 0 / 0.6857 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4536, allocations: 4 kB / 0.6857 GB, free: 4.812 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.001404/0.455, allocations: 0.5362 MB / 0.6862 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.455, allocations: 11.97 kB / 0.6863 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.4553, allocations: 28.83 kB / 0.6863 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.4557, allocations: 170.2 kB / 0.6864 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4559, allocations: 226.7 kB / 0.6867 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.456, allocations: 24.38 kB / 0.6867 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.4568, allocations: 0.5057 MB / 0.6872 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4568, allocations: 7.938 kB / 0.6872 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.4569, allocations: 12 kB / 0.6872 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4569, allocations: 8 kB / 0.6872 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4581, allocations: 0.7157 MB / 0.6879 GB, free: 2.402 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.001628/0.4597, allocations: 0.9718 MB / 0.6889 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.4603, allocations: 155.8 kB / 0.689 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.4605, allocations: 85.41 kB / 0.6891 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/0.4627, allocations: 0.688 MB / 0.6898 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.4627, allocations: 42.48 kB / 0.6898 GB, free: 384 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.4627, allocations: 8 kB / 0.6898 GB, free: 376 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0009332/0.4637, allocations: 205.2 kB / 0.69 GB, free: 164 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4637, allocations: 59.34 kB / 0.6901 GB, free: 92 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4641, allocations: 235.5 kB / 0.6903 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4641, allocations: 29.64 kB / 0.6903 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4643, allocations: 219.6 kB / 0.6905 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.4644, allocations: 51.59 kB / 0.6906 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4646, allocations: 86.03 kB / 0.6907 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4648, allocations: 330.8 kB / 0.691 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4649, allocations: 44.84 kB / 0.691 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.4654, allocations: 326.6 kB / 0.6913 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.4661, allocations: 424.3 kB / 0.6917 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4661, allocations: 0 / 0.6917 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008912/0.467, allocations: 369.7 kB / 0.6921 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.467, allocations: 12 kB / 0.6921 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.467, allocations: 8 kB / 0.6921 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.467, allocations: 12 kB / 0.6921 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.4676, allocations: 115.8 kB / 0.6922 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.278e-05/0.4676, allocations: 23.94 kB / 0.6922 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.468, allocations: 16 kB / 0.6923 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.468, allocations: 27.98 kB / 0.6923 GB, free: 13.5 MB / 0.5294 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.0001971/0.4682, allocations: 153.8 kB / 0.6924 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.4683, allocations: 23.86 kB / 0.6925 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.4688, allocations: 159.3 kB / 0.6926 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4688, allocations: 3.938 kB / 0.6926 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4688, allocations: 3.938 kB / 0.6926 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4688, allocations: 0 / 0.6926 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.4695, allocations: 375.8 kB / 0.693 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4696, allocations: 4 kB / 0.693 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4698, allocations: 31.97 kB / 0.693 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.4698, allocations: 7.938 kB / 0.693 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4698, allocations: 0 / 0.693 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4698, allocations: 0 / 0.693 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4698, allocations: 7.938 kB / 0.693 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4702, allocations: 213.1 kB / 0.6932 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4703, allocations: 27.83 kB / 0.6933 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.4703, allocations: 12 kB / 0.6933 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.4706, allocations: 7.984 kB / 0.6933 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.4707, allocations: 15.92 kB / 0.6933 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.4707, allocations: 11.98 kB / 0.6933 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001857/0.4709, allocations: 144.5 kB / 0.6934 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4709, allocations: 0 / 0.6934 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008651/0.4717, allocations: 103.9 kB / 0.6935 GB, free: 12.14 MB / 0.5294 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.0003466/0.4721, allocations: 163 kB / 0.6937 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.4725, allocations: 176.5 kB / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4725, allocations: 0 / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.4726, allocations: 37.55 kB / 0.6939 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.4734, allocations: 52.41 kB / 0.6939 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.4746, allocations: 0.5116 MB / 0.6944 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.4748, allocations: 112.6 kB / 0.6945 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.4751, allocations: 62.86 kB / 0.6946 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.4752, allocations: 23.44 kB / 0.6946 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.4752, allocations: 0 / 0.6946 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.01105/0.4862, allocations: 3.599 MB / 0.6981 GB, free: 7.422 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149442581998301]