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.001296/0.001296, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001335/0.001335, allocations: 161 kB / 24.56 MB, free: 20 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.046/1.046, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2995/0.2995, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.[0-9,]+.|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.[0-9,]+.|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 2.565e-06/2.565e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.505e-05/8.762e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.303/0.3031, allocations: 131.9 MB / 0.498 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.3067, allocations: 4.849 MB / 0.5028 GB, free: 23.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3068, allocations: 1.25 kB / 0.5028 GB, free: 23.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.3072, allocations: 65.31 kB / 0.5028 GB, free: 23.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3087, allocations: 0.7852 MB / 0.5036 GB, free: 23.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.309, allocations: 162.5 kB / 0.5038 GB, free: 23.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.3094, allocations: 404.5 kB / 0.5041 GB, free: 22.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.3095, allocations: 9.609 kB / 0.5042 GB, free: 22.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3097, allocations: 214.6 kB / 0.5044 GB, free: 22.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.3099, allocations: 168.2 kB / 0.5045 GB, free: 22.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3099, allocations: 9.25 kB / 0.5045 GB, free: 22.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.3108, allocations: 0.6327 MB / 0.5051 GB, free: 22.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.3108, allocations: 45.41 kB / 0.5052 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.3109, allocations: 83.31 kB / 0.5053 GB, free: 22.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.3116, allocations: 476.1 kB / 0.5057 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3116, allocations: 0.75 kB / 0.5057 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3116, allocations: 0 / 0.5057 GB, free: 22.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3116, allocations: 5.375 kB / 0.5057 GB, free: 22.27 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.0007546/0.3123, allocations: 0.6359 MB / 0.5064 GB, free: 21.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3124, allocations: 9.625 kB / 0.5064 GB, free: 21.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3125, allocations: 53.41 kB / 0.5064 GB, free: 21.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3127, allocations: 171.4 kB / 0.5066 GB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.3128, allocations: 227.1 kB / 0.5068 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3128, allocations: 26.25 kB / 0.5068 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.3132, allocations: 459 kB / 0.5073 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3132, allocations: 4.312 kB / 0.5073 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3132, allocations: 10.69 kB / 0.5073 GB, free: 20.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.3132, allocations: 7.672 kB / 0.5073 GB, free: 20.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.3137, allocations: 0.5293 MB / 0.5078 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.3145, allocations: 1.219 MB / 0.509 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3148, allocations: 153.5 kB / 0.5091 GB, free: 19.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.3148, allocations: 71.97 kB / 0.5092 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000789/0.3156, allocations: 0.7787 MB / 0.51 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3156, allocations: 44.55 kB / 0.51 GB, free: 19.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3156, allocations: 0 / 0.51 GB, free: 19.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004132/0.3161, allocations: 198.3 kB / 0.5102 GB, free: 19.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.468e-05/0.3161, allocations: 55.89 kB / 0.5102 GB, free: 19.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3162, allocations: 287.8 kB / 0.5105 GB, free: 18.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3162, allocations: 25.7 kB / 0.5105 GB, free: 18.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.3163, allocations: 269.4 kB / 0.5108 GB, free: 18.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3163, allocations: 63.02 kB / 0.5109 GB, free: 18.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.3164, allocations: 98 kB / 0.511 GB, free: 18.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.3164, allocations: 0.5026 MB / 0.5114 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.3165, allocations: 37.05 kB / 0.5115 GB, free: 17.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3166, allocations: 431.6 kB / 0.5119 GB, free: 17.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3168, allocations: 0.503 MB / 0.5124 GB, free: 16.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3168, allocations: 7.438 kB / 0.5124 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003306/0.3172, allocations: 375.4 kB / 0.5127 GB, free: 16.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3172, allocations: 11.89 kB / 0.5128 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3172, allocations: 15.78 kB / 0.5128 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3172, allocations: 11.14 kB / 0.5128 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3174, allocations: 110.7 kB / 0.5129 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3174, allocations: 17.73 kB / 0.5129 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3175, allocations: 24.19 kB / 0.5129 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3176, allocations: 27.64 kB / 0.513 GB, free: 16.57 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 6.226e-05/0.3176, allocations: 193.6 kB / 0.5131 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3177, allocations: 22.39 kB / 0.5132 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3178, allocations: 147.7 kB / 0.5133 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3179, allocations: 3.281 kB / 0.5133 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3179, allocations: 0 / 0.5133 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3179, allocations: 0.8906 kB / 0.5133 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3181, allocations: 429.5 kB / 0.5137 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3181, allocations: 2.688 kB / 0.5137 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.3182, allocations: 36.16 kB / 0.5138 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3182, allocations: 0 / 0.5138 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3182, allocations: 7.734 kB / 0.5138 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3182, allocations: 64 / 0.5138 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3182, allocations: 11.44 kB / 0.5138 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.3184, allocations: 267.8 kB / 0.514 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.3184, allocations: 29.52 kB / 0.5141 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3184, allocations: 8.25 kB / 0.5141 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3185, allocations: 11.44 kB / 0.5141 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.3185, allocations: 14.5 kB / 0.5141 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3185, allocations: 7.438 kB / 0.5141 GB, free: 15.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.629e-05/0.3186, allocations: 190.9 kB / 0.5143 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3186, allocations: 0 / 0.5143 GB, free: 15.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.3189, allocations: 94.77 kB / 0.5144 GB, free: 15.49 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.0001849/0.3191, allocations: 148.7 kB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3193, allocations: 179.6 kB / 0.5147 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3193, allocations: 4.688 kB / 0.5147 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.3193, allocations: 40.86 kB / 0.5147 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3196, allocations: 60.92 kB / 0.5148 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.3205, allocations: 0.4985 MB / 0.5153 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.3205, allocations: 76.36 kB / 0.5153 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3207, allocations: 56.61 kB / 0.5154 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3207, allocations: 29.31 kB / 0.5154 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3207, allocations: 0 / 0.5154 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.004572/0.3253, allocations: 3.14 MB / 0.5185 GB, free: 14.47 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] 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","",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: 3.620594160631299]