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.001516/0.001516, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001472/0.001472, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2904/0.2904, allocations: 46.96 MB / 360.9 MB, free: 4.039 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+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.002176/0.002176, allocations: 63.89 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1694/0.5122, allocations: 119.7 MB / 0.678 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006056/0.5182, allocations: 4.248 MB / 0.6821 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.5184, allocations: 0 / 0.6821 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.5188, allocations: 59.59 kB / 0.6822 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.521, allocations: 0.7462 MB / 0.6829 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.5214, allocations: 167.3 kB / 0.6831 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.5221, allocations: 370.2 kB / 0.6834 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.5221, allocations: 17.8 kB / 0.6834 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.5225, allocations: 159.4 kB / 0.6836 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.5229, allocations: 191.4 kB / 0.6838 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.5229, allocations: 8 kB / 0.6838 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.5244, allocations: 0.6084 MB / 0.6844 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.5245, allocations: 51.75 kB / 0.6844 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.5247, allocations: 91.64 kB / 0.6845 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5258, allocations: 469 kB / 0.685 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.5258, allocations: 7.984 kB / 0.685 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5258, allocations: 0 / 0.685 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.5259, allocations: 0 / 0.685 GB, free: 4.867 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.001508/0.5274, allocations: 0.5362 MB / 0.6855 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5274, allocations: 8.031 kB / 0.6855 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5276, allocations: 24.84 kB / 0.6855 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.5281, allocations: 178.2 kB / 0.6857 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.5283, allocations: 226.7 kB / 0.6859 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.5284, allocations: 20.38 kB / 0.6859 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.5291, allocations: 0.5018 MB / 0.6864 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5292, allocations: 4 kB / 0.6864 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.5292, allocations: 11.98 kB / 0.6864 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.5292, allocations: 8 kB / 0.6864 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.5302, allocations: 0.7157 MB / 0.6871 GB, free: 2.469 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.001607/0.5318, allocations: 0.9757 MB / 0.6881 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.5322, allocations: 167.7 kB / 0.6883 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.5324, allocations: 77.48 kB / 0.6883 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.5341, allocations: 0.6919 MB / 0.689 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5341, allocations: 42.5 kB / 0.6891 GB, free: 440 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.5341, allocations: 0 / 0.6891 GB, free: 440 kB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006989/0.5348, allocations: 217.1 kB / 0.6893 GB, free: 216 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.5349, allocations: 55.34 kB / 0.6893 GB, free: 148 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.5351, allocations: 231.6 kB / 0.6895 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5352, allocations: 25.7 kB / 0.6896 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.5353, allocations: 215.6 kB / 0.6898 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.5354, allocations: 59.58 kB / 0.6898 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5355, allocations: 86.03 kB / 0.6899 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.5357, allocations: 326.8 kB / 0.6902 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.5358, allocations: 52.84 kB / 0.6903 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.5362, allocations: 322.6 kB / 0.6906 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.5367, allocations: 420.3 kB / 0.691 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5367, allocations: 4 kB / 0.691 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006685/0.5374, allocations: 373.1 kB / 0.6913 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5374, allocations: 8 kB / 0.6913 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5375, allocations: 8 kB / 0.6913 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.5375, allocations: 16 kB / 0.6914 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.5379, allocations: 104.5 kB / 0.6915 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.5379, allocations: 27.86 kB / 0.6915 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.5381, allocations: 23.94 kB / 0.6915 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.5382, allocations: 28 kB / 0.6915 GB, free: 13.56 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.0001689/0.5383, allocations: 149.6 kB / 0.6917 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.5384, allocations: 23.86 kB / 0.6917 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.5387, allocations: 155.4 kB / 0.6919 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5387, allocations: 7.922 kB / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5387, allocations: 4 kB / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5388, allocations: 0 / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.5393, allocations: 379.6 kB / 0.6922 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5393, allocations: 0 / 0.6922 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.5395, allocations: 27.98 kB / 0.6923 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.5395, allocations: 3.938 kB / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5395, allocations: 4 kB / 0.6923 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5395, allocations: 8.062 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5395, allocations: 3.984 kB / 0.6923 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.5398, allocations: 217.1 kB / 0.6925 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.5399, allocations: 27.83 kB / 0.6925 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.5399, allocations: 11.95 kB / 0.6925 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5401, allocations: 11.98 kB / 0.6925 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.5402, allocations: 7.984 kB / 0.6925 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.5402, allocations: 8 kB / 0.6925 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001467/0.5403, allocations: 152.5 kB / 0.6927 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5403, allocations: 3.938 kB / 0.6927 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005091/0.5408, allocations: 95.94 kB / 0.6928 GB, free: 12.2 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.0003038/0.5411, allocations: 159.1 kB / 0.6929 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.5415, allocations: 173.8 kB / 0.6931 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5415, allocations: 256 / 0.6931 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.5415, allocations: 35.92 kB / 0.6931 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.542, allocations: 52.56 kB / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.543, allocations: 0.5155 MB / 0.6937 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.5432, allocations: 116.6 kB / 0.6938 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.5434, allocations: 58.91 kB / 0.6939 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.5434, allocations: 27.44 kB / 0.6939 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.5434, allocations: 0 / 0.6939 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.008296/0.5517, allocations: 3.476 MB / 0.6973 GB, free: 7.605 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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.630797555670142]