Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008783/0.0008783, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002101, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007508/0.0007508, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001712, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9286/0.9286, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2013/1.13, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1283/0.1283, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0196/0.1479, allocations: 12.3 MB / 265.9 MB, free: 7.82 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.129e-05, allocations: 2.312 kB / 267.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2965/0.2965, allocations: 128.9 MB / 396.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003913/0.3004, allocations: 4.869 MB / 401 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.3005, allocations: 4 kB / 401 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3008, allocations: 62.47 kB / 401.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3021, allocations: 0.7762 MB / 401.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3024, allocations: 164.6 kB / 402 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.3029, allocations: 401.1 kB / 402.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.455e-05/0.303, allocations: 10.41 kB / 402.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.3033, allocations: 213 kB / 402.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3036, allocations: 177.5 kB / 402.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.3036, allocations: 8 kB / 402.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.3044, allocations: 0.6218 MB / 403.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.3044, allocations: 35.86 kB / 403.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.3045, allocations: 63.88 kB / 403.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.305, allocations: 410.8 kB / 404 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.305, allocations: 0 / 404 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.305, allocations: 0 / 404 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.305, allocations: 0 / 404 MB, free: 14.2 MB / 362.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.0008331/0.3059, allocations: 0.6576 MB / 404.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3059, allocations: 8.031 kB / 404.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.306, allocations: 60.67 kB / 404.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3062, allocations: 153.6 kB / 404.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3063, allocations: 230.7 kB / 405.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3063, allocations: 24.38 kB / 405.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3066, allocations: 426.1 kB / 405.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3066, allocations: 384 / 405.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3067, allocations: 19.94 kB / 405.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3067, allocations: 8 kB / 405.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.307, allocations: 437.5 kB / 405.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.3077, allocations: 0.8641 MB / 406.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3079, allocations: 163.4 kB / 407 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.308, allocations: 53.5 kB / 407 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/0.3088, allocations: 0.7187 MB / 407.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3089, allocations: 30.56 kB / 407.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3089, allocations: 0 / 407.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000279/0.3092, allocations: 173.5 kB / 407.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3092, allocations: 59.39 kB / 408 MB, free: 9.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3093, allocations: 224.7 kB / 408.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3093, allocations: 29.7 kB / 408.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3094, allocations: 219.5 kB / 408.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3095, allocations: 55.53 kB / 408.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.3095, allocations: 86.09 kB / 408.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.3096, allocations: 326.8 kB / 408.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.3096, allocations: 37.05 kB / 409 MB, free: 8.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3098, allocations: 310.7 kB / 409.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.31, allocations: 409.4 kB / 409.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.31, allocations: 4 kB / 409.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002593/0.3103, allocations: 300.4 kB / 410 MB, free: 7.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3103, allocations: 8 kB / 410 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3103, allocations: 12 kB / 410 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3103, allocations: 12 kB / 410 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3106, allocations: 123.8 kB / 410.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3106, allocations: 19.92 kB / 410.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3107, allocations: 51.62 kB / 410.2 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3107, allocations: 27.22 kB / 410.2 MB, free: 7.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * 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 8.456e-05/0.3108, allocations: 156.4 kB / 410.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3108, allocations: 19.97 kB / 410.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.311, allocations: 112 kB / 410.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.311, allocations: 3.984 kB / 410.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.311, allocations: 4 kB / 410.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.311, allocations: 4 kB / 410.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3112, allocations: 327.8 kB / 410.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3112, allocations: 0 / 410.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.3113, allocations: 35.92 kB / 410.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3113, allocations: 24.72 kB / 410.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3113, allocations: 0 / 410.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3113, allocations: 4 kB / 410.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3113, allocations: 4 kB / 410.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3113, allocations: 0 / 410.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.3114, allocations: 234.9 kB / 411.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3115, allocations: 15.88 kB / 411.1 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.3116, allocations: 9.172 kB / 411.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3116, allocations: 11.92 kB / 411.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3116, allocations: 4 kB / 411.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.3116, allocations: 66.78 kB / 411.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3116, allocations: 4 kB / 411.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.3119, allocations: 83.94 kB / 411.3 MB, free: 6.195 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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.0002066/0.3121, allocations: 136.2 kB / 411.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3122, allocations: 169.6 kB / 411.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.3123, allocations: 4.5 kB / 411.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.3123, allocations: 24.8 kB / 411.6 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3125, allocations: 91.58 kB / 411.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3156, allocations: 477.9 kB / 412.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.3157, allocations: 76.33 kB / 412.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.3158, allocations: 54.08 kB / 412.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.316, allocations: 121.3 kB / 412.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.316, allocations: 0 / 412.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of Templates: time 0.004995/0.321, allocations: 3.567 MB / 416 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.382340365089476]