Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001088/0.001088, allocations: 71.77 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.001153/0.001153, allocations: 168.5 kB / 24.99 MB, free: 8.344 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.006/1.006, 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.2658/0.2658, allocations: 34.26 MB / 296 MB, free: 0.7812 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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.326e-05, allocations: 2.312 kB / 378.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.02523/0.02525, allocations: 11.28 MB / 389.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.03761, allocations: 11.72 MB / 401.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.03773, allocations: 0 / 401.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.03806, allocations: 75.44 kB / 401.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008061/0.04613, allocations: 3.17 MB / 404.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.04654, allocations: 151.6 kB / 404.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004105/0.05064, allocations: 4.017 MB / 408.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.05069, allocations: 12.59 kB / 408.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.05088, allocations: 199.4 kB / 408.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006036/0.05692, allocations: 7.309 MB / 416 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.05695, allocations: 8 kB / 416 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.05994, allocations: 2.009 MB / 418 MB, free: 10.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.05999, allocations: 43.83 kB / 418 MB, free: 10.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.06007, allocations: 103.8 kB / 418.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.0622, allocations: 1.749 MB / 419.9 MB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.0622, allocations: 0 / 419.9 MB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0622, allocations: 0 / 419.9 MB, free: 8.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.06221, allocations: 4 kB / 419.9 MB, free: 8.969 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.001498/0.06371, allocations: 0.9579 MB / 420.9 MB, free: 7.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.06374, allocations: 8.031 kB / 420.9 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.06422, allocations: 152.3 kB / 421 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.06446, allocations: 196.2 kB / 421.2 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.06448, allocations: 21.03 kB / 421.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.06452, allocations: 32.38 kB / 421.3 MB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.06513, allocations: 467.9 kB / 421.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.06514, allocations: 8.188 kB / 421.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.06516, allocations: 16.12 kB / 421.7 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.06517, allocations: 8 kB / 421.7 MB, free: 7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.06575, allocations: 462.4 kB / 422.2 MB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.06889, allocations: 2.919 MB / 425.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.06928, allocations: 203.8 kB / 425.3 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.06936, allocations: 60.22 kB / 425.4 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.215/0.2843, allocations: 21.31 MB / 446.7 MB, free: 90.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006429/0.285, allocations: 384.7 kB / 447.1 MB, free: 90.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/0.285, allocations: 2.859 kB / 447.1 MB, free: 90.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002694/0.2877, allocations: 0.9934 MB / 448.1 MB, free: 89.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2878, allocations: 478.1 kB / 448.5 MB, free: 89.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2879, allocations: 228 kB / 448.7 MB, free: 89.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.288, allocations: 40.11 kB / 448.8 MB, free: 89.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.288, allocations: 209.6 kB / 449 MB, free: 88.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.2881, allocations: 138.5 kB / 449.1 MB, free: 88.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2882, allocations: 103.4 kB / 449.2 MB, free: 88.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.2883, allocations: 0.5011 MB / 449.7 MB, free: 88.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.2884, allocations: 54.92 kB / 449.8 MB, free: 88.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2887, allocations: 411.5 kB / 450.2 MB, free: 87.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.289, allocations: 0.5163 MB / 450.7 MB, free: 87.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.289, allocations: 2.812 kB / 450.7 MB, free: 87.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000493/0.2895, allocations: 448.5 kB / 451.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2895, allocations: 8.812 kB / 451.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2896, allocations: 8.719 kB / 451.2 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.2906, allocations: 321.5 kB / 451.5 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2908, allocations: 106.5 kB / 451.6 MB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004412/0.2913, allocations: 1.828 MB / 453.4 MB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2914, allocations: 25.41 kB / 453.4 MB, free: 85.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2914, allocations: 29.36 kB / 453.5 MB, free: 85.47 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.0001007/0.2915, allocations: 197.8 kB / 453.6 MB, free: 85.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.2916, allocations: 44.56 kB / 453.7 MB, free: 85.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/0.2924, allocations: 0.8198 MB / 454.5 MB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2924, allocations: 12.31 kB / 454.5 MB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.2924, allocations: 2.5 kB / 454.5 MB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2924, allocations: 2.875 kB / 454.5 MB, free: 85.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.2932, allocations: 0.9747 MB / 455.5 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2932, allocations: 2.812 kB / 455.5 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.2933, allocations: 44.67 kB / 455.6 MB, free: 84.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006362/0.2939, allocations: 215.3 kB / 455.8 MB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.294, allocations: 8.875 kB / 455.8 MB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/0.2943, allocations: 1.815 MB / 457.6 MB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2943, allocations: 2.812 kB / 457.6 MB, free: 82.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.2947, allocations: 0.5719 MB / 458.2 MB, free: 82.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.2948, allocations: 26.44 kB / 458.2 MB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.2948, allocations: 55.22 kB / 458.2 MB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2949, allocations: 12.84 kB / 458.3 MB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.295, allocations: 36.16 kB / 458.3 MB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.295, allocations: 12.06 kB / 458.3 MB, free: 82.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.2952, allocations: 302.1 kB / 458.6 MB, free: 82.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2952, allocations: 0 / 458.6 MB, free: 82.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001045/0.2962, allocations: 453.1 kB / 459 MB, free: 82.25 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.001102/0.2973, allocations: 0.6983 MB / 459.7 MB, free: 82.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2978, allocations: 326.3 kB / 460.1 MB, free: 82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2978, allocations: 0 / 460.1 MB, free: 82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2979, allocations: 168.8 kB / 460.2 MB, free: 81.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.2984, allocations: 168.2 kB / 460.4 MB, free: 81.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7052/1.004, allocations: 0.4918 GB / 0.9414 GB, free: 17.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.559e-05/1.004, allocations: 109.8 kB / 0.9415 GB, free: 17.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/1.004, allocations: 165.2 kB / 0.9416 GB, free: 17.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/1.004, allocations: 40.48 kB / 0.9417 GB, free: 17.25 MB / 458.7 MB Notification: Performance of SimCode: time 2.195e-06/1.004, allocations: 0 / 0.9417 GB, free: 17.25 MB / 458.7 MB Notification: Performance of Templates: time 0.1519/1.156, allocations: 15.98 MB / 0.9573 GB, free: 151.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.461874982109293]