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.001349/0.001349, allocations: 107.6 kB / 21.19 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.001482/0.001482, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 8.008 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.2541/0.2541, allocations: 46.96 MB / 361.6 MB, free: 4.066 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.002189/0.002189, allocations: 71.89 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3287, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1618/0.4905, allocations: 119.7 MB / 0.6787 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005938/0.4964, allocations: 4.232 MB / 0.6829 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.4966, allocations: 7.938 kB / 0.6829 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.497, allocations: 63.59 kB / 0.6829 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.499, allocations: 0.7423 MB / 0.6837 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.4994, allocations: 167.2 kB / 0.6838 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.5, allocations: 378 kB / 0.6842 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.5, allocations: 13.81 kB / 0.6842 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.5003, allocations: 163.5 kB / 0.6843 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.5006, allocations: 187.4 kB / 0.6845 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.5007, allocations: 8 kB / 0.6845 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5019, allocations: 0.6085 MB / 0.6851 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.502, allocations: 47.77 kB / 0.6852 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5021, allocations: 99.58 kB / 0.6853 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008786/0.503, allocations: 468.9 kB / 0.6857 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.503, allocations: 0 / 0.6857 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.503, allocations: 0 / 0.6857 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.503, allocations: 0 / 0.6857 GB, free: 4.84 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.001155/0.5042, allocations: 0.5401 MB / 0.6862 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5042, allocations: 12.03 kB / 0.6862 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.5044, allocations: 24.84 kB / 0.6863 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5047, allocations: 166.2 kB / 0.6864 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.505, allocations: 230.7 kB / 0.6867 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.505, allocations: 24.38 kB / 0.6867 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.5057, allocations: 0.5056 MB / 0.6872 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5057, allocations: 0 / 0.6872 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.5057, allocations: 16 kB / 0.6872 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.5057, allocations: 8 kB / 0.6872 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009087/0.5066, allocations: 0.7196 MB / 0.6879 GB, free: 2.43 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.001362/0.508, allocations: 0.964 MB / 0.6888 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.5084, allocations: 159.7 kB / 0.689 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5086, allocations: 81.48 kB / 0.6891 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.5101, allocations: 0.6958 MB / 0.6897 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5101, allocations: 34.56 kB / 0.6898 GB, free: 420 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5101, allocations: 0 / 0.6898 GB, free: 420 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006814/0.5108, allocations: 217.2 kB / 0.69 GB, free: 196 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5108, allocations: 63.28 kB / 0.69 GB, free: 120 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.5111, allocations: 227.5 kB / 0.6903 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.5111, allocations: 33.7 kB / 0.6903 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5113, allocations: 211.6 kB / 0.6905 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.5113, allocations: 51.59 kB / 0.6905 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5114, allocations: 90.03 kB / 0.6906 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5116, allocations: 326.8 kB / 0.6909 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5117, allocations: 52.83 kB / 0.691 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.512, allocations: 318.6 kB / 0.6913 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.5125, allocations: 420.3 kB / 0.6917 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5125, allocations: 4 kB / 0.6917 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000623/0.5132, allocations: 381.8 kB / 0.6921 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5132, allocations: 15.94 kB / 0.6921 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5132, allocations: 12 kB / 0.6921 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.5132, allocations: 12 kB / 0.6921 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.5136, allocations: 111.8 kB / 0.6922 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.5136, allocations: 19.88 kB / 0.6922 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5138, allocations: 16 kB / 0.6922 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.5139, allocations: 31.98 kB / 0.6923 GB, free: 13.53 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.0001441/0.514, allocations: 145.6 kB / 0.6924 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.5141, allocations: 23.86 kB / 0.6924 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.5144, allocations: 163.6 kB / 0.6926 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.5144, allocations: 11.88 kB / 0.6926 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5144, allocations: 0 / 0.6926 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5144, allocations: 0 / 0.6926 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.515, allocations: 375.8 kB / 0.693 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.515, allocations: 0 / 0.693 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.5151, allocations: 27.98 kB / 0.693 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5151, allocations: 3.938 kB / 0.693 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5152, allocations: 11.98 kB / 0.693 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5152, allocations: 3.938 kB / 0.693 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5152, allocations: 0 / 0.693 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.5154, allocations: 213.1 kB / 0.6932 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.5155, allocations: 31.83 kB / 0.6932 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.5155, allocations: 3.953 kB / 0.6932 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5157, allocations: 23.89 kB / 0.6933 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.5158, allocations: 7.984 kB / 0.6933 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5158, allocations: 11.98 kB / 0.6933 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001479/0.5159, allocations: 148.5 kB / 0.6934 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5159, allocations: 3.938 kB / 0.6934 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004943/0.5164, allocations: 91.92 kB / 0.6935 GB, free: 12.17 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.0002752/0.5167, allocations: 155.1 kB / 0.6937 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.517, allocations: 180.9 kB / 0.6938 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.517, allocations: 0 / 0.6938 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.5171, allocations: 35.92 kB / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.5176, allocations: 49.66 kB / 0.6939 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5186, allocations: 0.5406 MB / 0.6945 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.5187, allocations: 116.5 kB / 0.6946 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.5188, allocations: 31.44 kB / 0.6946 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.5188, allocations: 4 kB / 0.6946 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.006637/0.5254, allocations: 3.434 MB / 0.6979 GB, free: 7.586 MB / 0.5294 GB " [Timeout remaining time 659] 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 -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: 8.158518525306135]