Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001432/0.001432, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 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.001569/0.001569, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.475/1.475, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3757/0.3757, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.201e-05, allocations: 6.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3302/0.3302, allocations: 119.7 MB / 495 MB, free: 35.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.3344, allocations: 4.248 MB / 499.2 MB, free: 32.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.3346, allocations: 2.719 kB / 499.2 MB, free: 32.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.335, allocations: 61.56 kB / 499.3 MB, free: 32.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.3368, allocations: 0.7697 MB / 0.4884 GB, free: 31.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3372, allocations: 149.2 kB / 0.4885 GB, free: 31.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.3376, allocations: 395.6 kB / 0.4889 GB, free: 31.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.3376, allocations: 8 kB / 0.4889 GB, free: 31.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3378, allocations: 204.7 kB / 0.4891 GB, free: 31.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3381, allocations: 180.1 kB / 0.4893 GB, free: 31.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3381, allocations: 6.156 kB / 0.4893 GB, free: 31.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.339, allocations: 0.615 MB / 0.4899 GB, free: 31.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.3391, allocations: 45.67 kB / 0.4899 GB, free: 31.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3392, allocations: 89.67 kB / 0.49 GB, free: 31.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.3399, allocations: 496.2 kB / 0.4905 GB, free: 30.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3399, allocations: 0 / 0.4905 GB, free: 30.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3399, allocations: 0 / 0.4905 GB, free: 30.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3399, allocations: 0 / 0.4905 GB, free: 30.94 MB / 410.7 MB 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.001046/0.3409, allocations: 0.5379 MB / 0.491 GB, free: 30.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.341, allocations: 8.938 kB / 0.491 GB, free: 30.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.3412, allocations: 52.8 kB / 0.491 GB, free: 30.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3414, allocations: 169.1 kB / 0.4912 GB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3415, allocations: 230.4 kB / 0.4914 GB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.3416, allocations: 29.12 kB / 0.4915 GB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.3421, allocations: 0.4961 MB / 0.4919 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3421, allocations: 5.484 kB / 0.4919 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.3422, allocations: 23.16 kB / 0.492 GB, free: 29.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.3422, allocations: 8.25 kB / 0.492 GB, free: 29.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.343, allocations: 0.7183 MB / 0.4927 GB, free: 29.56 MB / 410.7 MB 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.001072/0.3441, allocations: 0.962 MB / 0.4936 GB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.3445, allocations: 164.3 kB / 0.4938 GB, free: 28.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3447, allocations: 78.45 kB / 0.4938 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.3461, allocations: 0.6975 MB / 0.4945 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.3461, allocations: 37.53 kB / 0.4946 GB, free: 28.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3461, allocations: 3.938 kB / 0.4946 GB, free: 28.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006502/0.3467, allocations: 225.3 kB / 0.4948 GB, free: 28.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.3467, allocations: 57.75 kB / 0.4948 GB, free: 28.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3469, allocations: 228.7 kB / 0.4951 GB, free: 27.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.347, allocations: 30.86 kB / 0.4951 GB, free: 27.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.347, allocations: 216.8 kB / 0.4953 GB, free: 27.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3471, allocations: 55.27 kB / 0.4953 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.3472, allocations: 90.94 kB / 0.4954 GB, free: 27.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.3472, allocations: 332.2 kB / 0.4957 GB, free: 27.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.3473, allocations: 49.12 kB / 0.4958 GB, free: 27.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3475, allocations: 320.8 kB / 0.4961 GB, free: 26.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3479, allocations: 419.8 kB / 0.4965 GB, free: 26.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3479, allocations: 3.375 kB / 0.4965 GB, free: 26.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005541/0.3484, allocations: 404.5 kB / 0.4969 GB, free: 26.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3484, allocations: 9.734 kB / 0.4969 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3485, allocations: 9.875 kB / 0.4969 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.3485, allocations: 12.56 kB / 0.4969 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.3488, allocations: 107.6 kB / 0.497 GB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.3489, allocations: 19 kB / 0.497 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3491, allocations: 13.94 kB / 0.4971 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3491, allocations: 28.84 kB / 0.4971 GB, free: 26.25 MB / 410.7 MB 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.0001008/0.3492, allocations: 152.4 kB / 0.4972 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.3493, allocations: 26.31 kB / 0.4973 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3496, allocations: 151.6 kB / 0.4974 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3496, allocations: 1.312 kB / 0.4974 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3496, allocations: 0.6094 kB / 0.4974 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3496, allocations: 1.641 kB / 0.4974 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.35, allocations: 388.3 kB / 0.4978 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.35, allocations: 1.75 kB / 0.4978 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3502, allocations: 32.58 kB / 0.4978 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3502, allocations: 1.031 kB / 0.4978 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3502, allocations: 1.922 kB / 0.4978 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3502, allocations: 2.641 kB / 0.4978 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3502, allocations: 8.156 kB / 0.4978 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3504, allocations: 227.5 kB / 0.498 GB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3505, allocations: 25.39 kB / 0.4981 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.3505, allocations: 3.109 kB / 0.4981 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3507, allocations: 10.52 kB / 0.4981 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.3508, allocations: 21.45 kB / 0.4981 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3508, allocations: 7.172 kB / 0.4981 GB, free: 25.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3509, allocations: 149 kB / 0.4982 GB, free: 25.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3509, allocations: 0 / 0.4982 GB, free: 25.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004749/0.3513, allocations: 98.27 kB / 0.4983 GB, free: 25.37 MB / 410.7 MB 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.0002754/0.3516, allocations: 157.1 kB / 0.4985 GB, free: 25.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.3519, allocations: 171.4 kB / 0.4986 GB, free: 25.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3519, allocations: 1 kB / 0.4986 GB, free: 25.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.352, allocations: 32.91 kB / 0.4987 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.3524, allocations: 61.19 kB / 0.4987 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.3532, allocations: 493.9 kB / 0.4992 GB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.3533, allocations: 113.8 kB / 0.4993 GB, free: 24.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.3535, allocations: 58.42 kB / 0.4994 GB, free: 24.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3536, allocations: 31.75 kB / 0.4994 GB, free: 24.77 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3536, allocations: 0 / 0.4994 GB, free: 24.77 MB / 410.7 MB Notification: Performance of Templates: time 0.007225/0.3608, allocations: 3.195 MB / 0.5025 GB, free: 24.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.43673223699443]