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.001368/0.001368, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001564/0.001564, allocations: 174.2 kB / 25.61 MB, free: 8.867 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 0.9609/0.9609, allocations: 177.1 MB / 206 MB, free: 4.496 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.1436/0.1436, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.333e-06/1.333e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.778e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.28/0.28, allocations: 129.4 MB / 0.4968 GB, free: 16.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2834, allocations: 4.813 MB / 0.5015 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.2835, allocations: 2 kB / 0.5015 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.2838, allocations: 64.95 kB / 0.5016 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2853, allocations: 0.7961 MB / 0.5024 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.2855, allocations: 164 kB / 0.5025 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.2861, allocations: 400 kB / 0.5029 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.2861, allocations: 9.422 kB / 0.5029 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.2864, allocations: 211.2 kB / 0.5031 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.2866, allocations: 182.1 kB / 0.5033 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2867, allocations: 7.75 kB / 0.5033 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008398/0.2875, allocations: 0.6226 MB / 0.5039 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.2876, allocations: 43.52 kB / 0.5039 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.261e-05/0.2877, allocations: 86.98 kB / 0.504 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.2883, allocations: 479.1 kB / 0.5045 GB, free: 16.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2883, allocations: 0 / 0.5045 GB, free: 16.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2883, allocations: 2.656 kB / 0.5045 GB, free: 16.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2883, allocations: 0 / 0.5045 GB, free: 16.73 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.000766/0.2891, allocations: 0.6331 MB / 0.5051 GB, free: 16.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2891, allocations: 9.312 kB / 0.5051 GB, free: 16.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.2892, allocations: 55.33 kB / 0.5052 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.2894, allocations: 177.1 kB / 0.5053 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.2895, allocations: 228.7 kB / 0.5055 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.2895, allocations: 24.78 kB / 0.5056 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2898, allocations: 438 kB / 0.506 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2898, allocations: 384 / 0.506 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.2898, allocations: 15.95 kB / 0.506 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2898, allocations: 8.375 kB / 0.506 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.2902, allocations: 466.2 kB / 0.5065 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.2911, allocations: 1.195 MB / 0.5076 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.2914, allocations: 146.8 kB / 0.5078 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.2914, allocations: 59.36 kB / 0.5078 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.2922, allocations: 0.7888 MB / 0.5086 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2923, allocations: 39.14 kB / 0.5086 GB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.2923, allocations: 0 / 0.5086 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000367/0.2926, allocations: 181.2 kB / 0.5088 GB, free: 14.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.2927, allocations: 54.44 kB / 0.5088 GB, free: 13.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2928, allocations: 290.9 kB / 0.5091 GB, free: 13.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2928, allocations: 29.33 kB / 0.5092 GB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.2929, allocations: 268 kB / 0.5094 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2929, allocations: 57.12 kB / 0.5095 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.2929, allocations: 90.67 kB / 0.5095 GB, free: 13.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.293, allocations: 0.5054 MB / 0.51 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.293, allocations: 30.64 kB / 0.5101 GB, free: 12.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2931, allocations: 430.6 kB / 0.5105 GB, free: 12.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.2934, allocations: 0.5035 MB / 0.511 GB, free: 11.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2934, allocations: 2.5 kB / 0.511 GB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003087/0.2937, allocations: 357.7 kB / 0.5113 GB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2937, allocations: 8.375 kB / 0.5113 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2937, allocations: 13.16 kB / 0.5113 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2937, allocations: 14.62 kB / 0.5114 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2939, allocations: 108 kB / 0.5115 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2939, allocations: 14.97 kB / 0.5115 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.294, allocations: 22.81 kB / 0.5115 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.294, allocations: 23.78 kB / 0.5115 GB, free: 11.91 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.583e-05/0.2941, allocations: 192.8 kB / 0.5117 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.2941, allocations: 22.41 kB / 0.5117 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.2943, allocations: 150.9 kB / 0.5119 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2943, allocations: 1.094 kB / 0.5119 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.2943, allocations: 0 / 0.5119 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2943, allocations: 2.344 kB / 0.5119 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2946, allocations: 398.9 kB / 0.5122 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2946, allocations: 0 / 0.5122 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.2947, allocations: 32.94 kB / 0.5123 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2947, allocations: 0 / 0.5123 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2947, allocations: 6.094 kB / 0.5123 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2947, allocations: 3.188 kB / 0.5123 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2947, allocations: 2.312 kB / 0.5123 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2948, allocations: 264.4 kB / 0.5125 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.2948, allocations: 27.59 kB / 0.5126 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.2949, allocations: 10.48 kB / 0.5126 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.295, allocations: 8.344 kB / 0.5126 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.295, allocations: 15.67 kB / 0.5126 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.295, allocations: 13.77 kB / 0.5126 GB, free: 11.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.295, allocations: 180.6 kB / 0.5128 GB, free: 11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.295, allocations: 1.203 kB / 0.5128 GB, free: 11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.2954, allocations: 96.03 kB / 0.5129 GB, free: 11 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.0001811/0.2955, allocations: 152.3 kB / 0.513 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2957, allocations: 175.3 kB / 0.5132 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2957, allocations: 3.094 kB / 0.5132 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.2957, allocations: 35.33 kB / 0.5132 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.296, allocations: 55.06 kB / 0.5133 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.2968, allocations: 0.5062 MB / 0.5138 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.2968, allocations: 72.31 kB / 0.5138 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.297, allocations: 56.3 kB / 0.5139 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2971, allocations: 150.1 kB / 0.514 GB, free: 10.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2971, allocations: 0 / 0.514 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Templates: time 0.005117/0.3022, allocations: 3.59 MB / 0.5175 GB, free: 10 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.4662077240645885]