Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9703/0.9703, allocations: 177 MB / 204.8 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2854/0.2854, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.025e-05, allocations: 2.312 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01032/0.01035, allocations: 11.3 MB / 390.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009298/0.01965, allocations: 11.76 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.01978, allocations: 0 / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.02015, allocations: 75.41 kB / 401.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008327/0.02847, allocations: 3.197 MB / 405.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.0288, allocations: 163.6 kB / 405.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003757/0.03255, allocations: 4.052 MB / 409.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.03261, allocations: 16.58 kB / 409.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.03282, allocations: 207.4 kB / 409.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/0.03869, allocations: 7.352 MB / 416.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.03873, allocations: 8 kB / 416.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.04322, allocations: 2.013 MB / 418.9 MB, free: 9.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.04333, allocations: 51.75 kB / 419 MB, free: 9.719 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.04344, allocations: 83.84 kB / 419.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.04596, allocations: 1.761 MB / 420.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.04596, allocations: 0 / 420.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04597, allocations: 0 / 420.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.04597, allocations: 7.938 kB / 420.8 MB, free: 7.863 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001639/0.04761, allocations: 0.9541 MB / 421.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.04766, allocations: 8.031 kB / 421.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.04813, allocations: 148.3 kB / 422 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.04839, allocations: 204.1 kB / 422.2 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.04841, allocations: 21.03 kB / 422.2 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.04845, allocations: 32.36 kB / 422.2 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.04906, allocations: 472 kB / 422.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.04907, allocations: 192 / 422.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.0491, allocations: 16.12 kB / 422.7 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.04911, allocations: 8 kB / 422.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.04968, allocations: 466.4 kB / 423.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.0531, allocations: 2.915 MB / 426.1 MB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.05347, allocations: 198 kB / 426.3 MB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.05354, allocations: 64.22 kB / 426.3 MB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2361/0.2896, allocations: 21.31 MB / 447.6 MB, free: 85.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.2904, allocations: 382.2 kB / 448 MB, free: 85.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.226e-06/0.2904, allocations: 2.906 kB / 448 MB, free: 85.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002986/0.2934, allocations: 0.9897 MB / 449 MB, free: 84.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.2935, allocations: 480.7 kB / 449.5 MB, free: 84.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2937, allocations: 225.8 kB / 449.7 MB, free: 84.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2937, allocations: 36.02 kB / 449.7 MB, free: 84.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.2938, allocations: 208.8 kB / 449.9 MB, free: 83.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.2938, allocations: 142 kB / 450.1 MB, free: 83.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.2939, allocations: 102.1 kB / 450.2 MB, free: 83.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.294, allocations: 0.5027 MB / 450.7 MB, free: 83.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.2941, allocations: 58.67 kB / 450.7 MB, free: 83.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2942, allocations: 411.7 kB / 451.1 MB, free: 82.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.2946, allocations: 0.5176 MB / 451.6 MB, free: 82.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2946, allocations: 3 kB / 451.6 MB, free: 82.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005141/0.2951, allocations: 439.6 kB / 452.1 MB, free: 82.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2952, allocations: 11.38 kB / 452.1 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2952, allocations: 12.59 kB / 452.1 MB, free: 82.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.2963, allocations: 317.6 kB / 452.4 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2965, allocations: 109 kB / 452.5 MB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/0.297, allocations: 1.826 MB / 454.3 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.2972, allocations: 24.47 kB / 454.4 MB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2972, allocations: 31.47 kB / 454.4 MB, free: 80.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.2973, allocations: 197.5 kB / 454.6 MB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.2974, allocations: 45.92 kB / 454.6 MB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.2982, allocations: 0.8096 MB / 455.4 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2982, allocations: 13.17 kB / 455.5 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2982, allocations: 6.812 kB / 455.5 MB, free: 80.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2982, allocations: 0 / 455.5 MB, free: 80.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.2991, allocations: 0.9841 MB / 456.4 MB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.2992, allocations: 2.594 kB / 456.4 MB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.2992, allocations: 45.92 kB / 456.5 MB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/0.2999, allocations: 211.2 kB / 456.7 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2999, allocations: 12.92 kB / 456.7 MB, free: 79.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003975/0.3003, allocations: 1.811 MB / 458.5 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3003, allocations: 7 kB / 458.5 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.3007, allocations: 0.5693 MB / 459.1 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.3008, allocations: 27.97 kB / 459.1 MB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.3008, allocations: 54.98 kB / 459.2 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.301, allocations: 12.78 kB / 459.2 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.301, allocations: 29.59 kB / 459.2 MB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.301, allocations: 11.73 kB / 459.2 MB, free: 77.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3012, allocations: 306.9 kB / 459.5 MB, free: 77.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3012, allocations: 0 / 459.5 MB, free: 77.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001149/0.3024, allocations: 450.1 kB / 460 MB, free: 77.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.3036, allocations: 0.6902 MB / 460.7 MB, free: 77.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.304, allocations: 322.7 kB / 461 MB, free: 77.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.304, allocations: 0 / 461 MB, free: 77.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3042, allocations: 174.6 kB / 461.1 MB, free: 76.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3047, allocations: 165.7 kB / 461.3 MB, free: 76.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8903/1.195, allocations: 0.4932 GB / 0.9437 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.44e-05/1.195, allocations: 110.7 kB / 0.9438 GB, free: 131.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/1.195, allocations: 174.5 kB / 0.9439 GB, free: 131.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/1.196, allocations: 38.47 kB / 0.944 GB, free: 131.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.126e-06/1.196, allocations: 0 / 0.944 GB, free: 131.5 MB / 458.7 MB Notification: Performance of Templates: time 0.02038/1.216, allocations: 19.14 MB / 0.9627 GB, free: 129.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.429903072305024]