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.001859/0.001859, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002272/0.002272, allocations: 161.6 kB / 24.27 MB, free: 172 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.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3275/0.3275, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 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 4.789e-06/4.789e-06, allocations: 3.984 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.772e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3824/0.3825, allocations: 119.7 MB / 497 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004322/0.3868, allocations: 4.248 MB / 0.4895 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.3869, allocations: 0 / 0.4895 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3874, allocations: 67.55 kB / 0.4896 GB, free: 30.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3894, allocations: 0.7691 MB / 0.4904 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3897, allocations: 146.2 kB / 0.4905 GB, free: 29.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.3903, allocations: 395.6 kB / 0.4909 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3903, allocations: 7.75 kB / 0.4909 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.3906, allocations: 205.8 kB / 0.4911 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3909, allocations: 171.7 kB / 0.4912 GB, free: 29.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.3909, allocations: 7.875 kB / 0.4912 GB, free: 29.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.3923, allocations: 0.6244 MB / 0.4919 GB, free: 29.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.3923, allocations: 43.03 kB / 0.4919 GB, free: 29.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3925, allocations: 88.64 kB / 0.492 GB, free: 28.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.3934, allocations: 493.1 kB / 0.4924 GB, free: 28.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3934, allocations: 0 / 0.4924 GB, free: 28.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3934, allocations: 0 / 0.4924 GB, free: 28.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3935, allocations: 0 / 0.4924 GB, free: 28.83 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.00139/0.3948, allocations: 0.5356 MB / 0.493 GB, free: 28.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.3949, allocations: 14.38 kB / 0.493 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.3952, allocations: 53.19 kB / 0.493 GB, free: 28.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3955, allocations: 168.6 kB / 0.4932 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.3956, allocations: 227.8 kB / 0.4934 GB, free: 28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3957, allocations: 25.25 kB / 0.4934 GB, free: 27.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.3964, allocations: 0.5036 MB / 0.4939 GB, free: 27.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3964, allocations: 1.438 kB / 0.4939 GB, free: 27.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3964, allocations: 19.19 kB / 0.494 GB, free: 27.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.3964, allocations: 7.516 kB / 0.494 GB, free: 27.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3975, allocations: 0.7191 MB / 0.4947 GB, free: 27.46 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.00122/0.3987, allocations: 0.9655 MB / 0.4956 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.3992, allocations: 160.2 kB / 0.4958 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3994, allocations: 79.56 kB / 0.4958 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.4009, allocations: 0.6971 MB / 0.4965 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.401, allocations: 37.39 kB / 0.4965 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.935e-06/0.401, allocations: 3.984 kB / 0.4966 GB, free: 26.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007798/0.4017, allocations: 224.9 kB / 0.4968 GB, free: 26.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4018, allocations: 57.56 kB / 0.4968 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.402, allocations: 223.7 kB / 0.497 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.402, allocations: 32.05 kB / 0.4971 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4022, allocations: 215.9 kB / 0.4973 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.4022, allocations: 61.53 kB / 0.4973 GB, free: 25.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4023, allocations: 84.97 kB / 0.4974 GB, free: 25.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.4024, allocations: 337.3 kB / 0.4977 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.4025, allocations: 52.2 kB / 0.4978 GB, free: 25.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.4028, allocations: 318.2 kB / 0.4981 GB, free: 24.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.4032, allocations: 420.2 kB / 0.4985 GB, free: 24.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4032, allocations: 2.906 kB / 0.4985 GB, free: 24.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006313/0.4038, allocations: 397.8 kB / 0.4989 GB, free: 24.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4039, allocations: 11 kB / 0.4989 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.4039, allocations: 9.25 kB / 0.4989 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.4039, allocations: 13.47 kB / 0.4989 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.4043, allocations: 110.6 kB / 0.499 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.4043, allocations: 19.56 kB / 0.499 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.4046, allocations: 17.97 kB / 0.499 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.4046, allocations: 28.97 kB / 0.4991 GB, free: 24.14 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.0001119/0.4047, allocations: 151.7 kB / 0.4992 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.4048, allocations: 25.75 kB / 0.4992 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.4052, allocations: 155.8 kB / 0.4994 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4052, allocations: 5.719 kB / 0.4994 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.4052, allocations: 1.219 kB / 0.4994 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4052, allocations: 0.7969 kB / 0.4994 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.4057, allocations: 381.5 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4057, allocations: 1.094 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4059, allocations: 27.73 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4059, allocations: 1.031 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4059, allocations: 6.625 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4059, allocations: 1.828 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4059, allocations: 3.938 kB / 0.4998 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.4061, allocations: 232.5 kB / 0.5 GB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.4062, allocations: 24.84 kB / 0.5 GB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.4063, allocations: 3.672 kB / 0.5 GB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.4065, allocations: 18.81 kB / 0.5001 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.4065, allocations: 12.31 kB / 0.5001 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4065, allocations: 8.531 kB / 0.5001 GB, free: 23.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.4066, allocations: 148.8 kB / 0.5002 GB, free: 23.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4066, allocations: 0 / 0.5002 GB, free: 23.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005796/0.4072, allocations: 98.48 kB / 0.5003 GB, free: 23.26 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.0003122/0.4075, allocations: 160 kB / 0.5005 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.4079, allocations: 170.7 kB / 0.5006 GB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4079, allocations: 0 / 0.5006 GB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.4079, allocations: 32.23 kB / 0.5007 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.4085, allocations: 64.27 kB / 0.5007 GB, free: 23.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4095, allocations: 488.8 kB / 0.5012 GB, free: 22.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4097, allocations: 116.4 kB / 0.5013 GB, free: 22.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.4099, allocations: 59.59 kB / 0.5014 GB, free: 22.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.4099, allocations: 30.53 kB / 0.5014 GB, free: 22.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4099, allocations: 1.156 kB / 0.5014 GB, free: 22.66 MB / 410.7 MB Notification: Performance of Templates: time 0.007908/0.4179, allocations: 3.191 MB / 0.5045 GB, free: 22.24 MB / 410.7 MB " [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 -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.472851367900148]