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.001049/0.001049, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001681/0.001681, allocations: 167.7 kB / 24.99 MB, free: 8.875 MB / 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2591/0.2591, allocations: 34.26 MB / 296 MB, free: 0.7617 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 1.433e-06/1.433e-06, allocations: 0 / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.523e-05, allocations: 2.312 kB / 378 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2827/0.2827, allocations: 131.6 MB / 0.4977 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.2866, allocations: 4.84 MB / 0.5025 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2867, allocations: 5.094 kB / 0.5025 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.2871, allocations: 53.14 kB / 0.5025 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.2886, allocations: 0.7621 MB / 0.5033 GB, free: 23.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.289, allocations: 161.3 kB / 0.5034 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.2895, allocations: 385.7 kB / 0.5038 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.2895, allocations: 12.17 kB / 0.5038 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.2898, allocations: 202.4 kB / 0.504 GB, free: 23.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.2901, allocations: 177.1 kB / 0.5042 GB, free: 23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2901, allocations: 16.44 kB / 0.5042 GB, free: 22.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009818/0.2911, allocations: 0.6049 MB / 0.5048 GB, free: 22.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.2912, allocations: 53.62 kB / 0.5048 GB, free: 22.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2913, allocations: 81.31 kB / 0.5049 GB, free: 22.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.292, allocations: 482.9 kB / 0.5054 GB, free: 22.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.292, allocations: 4 kB / 0.5054 GB, free: 22.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.292, allocations: 0 / 0.5054 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.292, allocations: 1.375 kB / 0.5054 GB, free: 22.57 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.0008652/0.2929, allocations: 0.6284 MB / 0.506 GB, free: 22.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2929, allocations: 9.625 kB / 0.506 GB, free: 22.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2931, allocations: 57.86 kB / 0.506 GB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2933, allocations: 174.9 kB / 0.5062 GB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.2934, allocations: 223 kB / 0.5064 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.2934, allocations: 26.25 kB / 0.5064 GB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.2939, allocations: 459.1 kB / 0.5069 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2939, allocations: 384 / 0.5069 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2939, allocations: 16.67 kB / 0.5069 GB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.2939, allocations: 6.109 kB / 0.5069 GB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.2945, allocations: 0.5244 MB / 0.5074 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.2954, allocations: 1.227 MB / 0.5086 GB, free: 20.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.2957, allocations: 149.5 kB / 0.5088 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.2958, allocations: 74.58 kB / 0.5088 GB, free: 20.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.2966, allocations: 0.7872 MB / 0.5096 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2967, allocations: 40.88 kB / 0.5096 GB, free: 19.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2967, allocations: 0 / 0.5096 GB, free: 19.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004828/0.2972, allocations: 203.6 kB / 0.5098 GB, free: 19.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.2972, allocations: 53.69 kB / 0.5099 GB, free: 19.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2973, allocations: 287.6 kB / 0.5102 GB, free: 19.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2973, allocations: 30.22 kB / 0.5102 GB, free: 19.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.2974, allocations: 268.6 kB / 0.5104 GB, free: 18.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.2974, allocations: 60.09 kB / 0.5105 GB, free: 18.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.2975, allocations: 93.75 kB / 0.5106 GB, free: 18.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.2975, allocations: 0.5015 MB / 0.5111 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.2976, allocations: 39.94 kB / 0.5111 GB, free: 18.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2978, allocations: 430.5 kB / 0.5115 GB, free: 17.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.298, allocations: 0.5088 MB / 0.512 GB, free: 17.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.298, allocations: 2.406 kB / 0.512 GB, free: 17.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003569/0.2984, allocations: 382.8 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2984, allocations: 9.406 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2984, allocations: 12.22 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2984, allocations: 11.77 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.2986, allocations: 112 kB / 0.5125 GB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.2986, allocations: 17.95 kB / 0.5125 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2987, allocations: 15.38 kB / 0.5126 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2988, allocations: 28.03 kB / 0.5126 GB, free: 16.89 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.794e-05/0.2988, allocations: 190 kB / 0.5128 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2989, allocations: 26.33 kB / 0.5128 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.2991, allocations: 150.2 kB / 0.5129 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2991, allocations: 2.656 kB / 0.5129 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2991, allocations: 0 / 0.5129 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2991, allocations: 3.625 kB / 0.5129 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.2994, allocations: 433.6 kB / 0.5134 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2994, allocations: 0 / 0.5134 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.2995, allocations: 32.61 kB / 0.5134 GB, free: 16.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2995, allocations: 3.938 kB / 0.5134 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2995, allocations: 7.656 kB / 0.5134 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2995, allocations: 0 / 0.5134 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2995, allocations: 8.094 kB / 0.5134 GB, free: 16.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2996, allocations: 268 kB / 0.5137 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2996, allocations: 25.06 kB / 0.5137 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2997, allocations: 3.75 kB / 0.5137 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2998, allocations: 11.48 kB / 0.5137 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.2998, allocations: 15.11 kB / 0.5137 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.2998, allocations: 12.8 kB / 0.5137 GB, free: 15.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.2999, allocations: 185.2 kB / 0.5139 GB, free: 15.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2999, allocations: 4 kB / 0.5139 GB, free: 15.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00034/0.3002, allocations: 98.03 kB / 0.514 GB, free: 15.8 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.0002179/0.3004, allocations: 160.2 kB / 0.5142 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3006, allocations: 179.9 kB / 0.5143 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3006, allocations: 8.188 kB / 0.5143 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.3007, allocations: 38.73 kB / 0.5144 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3009, allocations: 61.5 kB / 0.5144 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.3019, allocations: 0.4974 MB / 0.5149 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.3019, allocations: 75.55 kB / 0.515 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.3021, allocations: 54.77 kB / 0.515 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.3021, allocations: 35.17 kB / 0.5151 GB, free: 15.16 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3021, allocations: 0 / 0.5151 GB, free: 15.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004859/0.3069, allocations: 3.181 MB / 0.5182 GB, free: 14.75 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.745056162122637]