Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.0009023/0.0009023, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004796/0.004796, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.9266/0.9266, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2451/0.2451, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.DryAirNasa,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.025e-05, allocations: 8.328 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2923/0.2923, allocations: 132 MB / 0.5595 GB, free: 320 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.2959, allocations: 4.619 MB / 0.564 GB, free: 11.69 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.296, allocations: 4 kB / 0.564 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2962, allocations: 47.56 kB / 0.564 GB, free: 11.64 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.2988, allocations: 1.25 MB / 0.5652 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.2991, allocations: 155.3 kB / 0.5654 GB, free: 10.24 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.2995, allocations: 405.9 kB / 0.5658 GB, free: 9.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.2996, allocations: 12.72 kB / 0.5658 GB, free: 9.832 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.2998, allocations: 223.3 kB / 0.566 GB, free: 9.613 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3, allocations: 155.7 kB / 0.5662 GB, free: 9.461 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3001, allocations: 8 kB / 0.5662 GB, free: 9.453 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3015, allocations: 0.9475 MB / 0.5671 GB, free: 8.504 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.3016, allocations: 43.77 kB / 0.5671 GB, free: 8.461 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.3017, allocations: 91.75 kB / 0.5672 GB, free: 8.371 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3028, allocations: 0.9469 MB / 0.5681 GB, free: 7.422 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3028, allocations: 0 / 0.5681 GB, free: 7.422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3028, allocations: 0 / 0.5681 GB, free: 7.422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3028, allocations: 0 / 0.5681 GB, free: 7.422 MB / 474.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.0009667/0.3038, allocations: 0.6256 MB / 0.5688 GB, free: 6.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3038, allocations: 8.031 kB / 0.5688 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.3074, allocations: 0.6386 MB / 0.5694 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3078, allocations: 201.5 kB / 0.5696 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.3079, allocations: 234.4 kB / 0.5698 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.3079, allocations: 24 kB / 0.5698 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.3087, allocations: 0.7345 MB / 0.5705 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3087, allocations: 3.938 kB / 0.5705 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.3088, allocations: 12 kB / 0.5706 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3088, allocations: 12 kB / 0.5706 GB, free: 4.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.3098, allocations: 0.6184 MB / 0.5712 GB, free: 4.152 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.311, allocations: 1.394 MB / 0.5725 GB, free: 2.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3112, allocations: 158.4 kB / 0.5727 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.3113, allocations: 72.81 kB / 0.5728 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.3116, allocations: 364.1 kB / 0.5731 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3117, allocations: 38.56 kB / 0.5731 GB, free: 2.027 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3117, allocations: 0 / 0.5731 GB, free: 2.027 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0006332/0.3123, allocations: 320.4 kB / 0.5734 GB, free: 1.715 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3123, allocations: 51.41 kB / 0.5735 GB, free: 1.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3125, allocations: 211 kB / 0.5737 GB, free: 1.438 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3125, allocations: 29.7 kB / 0.5737 GB, free: 1.402 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.3126, allocations: 191.8 kB / 0.5739 GB, free: 1.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.3126, allocations: 63.47 kB / 0.574 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3127, allocations: 98 kB / 0.5741 GB, free: 1.047 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.3128, allocations: 326.8 kB / 0.5744 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.3128, allocations: 68.7 kB / 0.5744 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.313, allocations: 269.1 kB / 0.5747 GB, free: 304 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3133, allocations: 359.9 kB / 0.575 GB, free: 15.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3133, allocations: 10.88 kB / 0.575 GB, free: 15.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000374/0.3137, allocations: 374.5 kB / 0.5754 GB, free: 15.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3137, allocations: 15.94 kB / 0.5754 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3137, allocations: 11.98 kB / 0.5754 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3137, allocations: 8 kB / 0.5754 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3139, allocations: 123.8 kB / 0.5756 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002528/0.3142, allocations: 0.6055 MB / 0.5761 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.3143, allocations: 49.36 kB / 0.5762 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.3143, allocations: 40 kB / 0.5762 GB, free: 14.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3144, allocations: 146.7 kB / 0.5764 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3145, allocations: 20 kB / 0.5764 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.315, allocations: 431.8 kB / 0.5768 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.315, allocations: 8 kB / 0.5768 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.315, allocations: 3.938 kB / 0.5768 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.315, allocations: 0 / 0.5768 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.3154, allocations: 492.3 kB / 0.5773 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3155, allocations: 9.688 kB / 0.5773 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3156, allocations: 63.95 kB / 0.5774 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3156, allocations: 0 / 0.5774 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3156, allocations: 12.2 kB / 0.5774 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004988/0.3161, allocations: 0.5977 MB / 0.5779 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3161, allocations: 0 / 0.5779 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.3163, allocations: 285.4 kB / 0.5782 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.3163, allocations: 35.81 kB / 0.5783 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3164, allocations: 7.953 kB / 0.5783 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3165, allocations: 15.94 kB / 0.5783 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.3165, allocations: 15.97 kB / 0.5783 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3165, allocations: 24.08 kB / 0.5783 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.222e-05/0.3166, allocations: 142.7 kB / 0.5785 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3166, allocations: 0 / 0.5785 GB, free: 12.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.317, allocations: 151.7 kB / 0.5786 GB, free: 12.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.3174, allocations: 249.9 kB / 0.5788 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3177, allocations: 225.2 kB / 0.5791 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3177, allocations: 0 / 0.5791 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.3178, allocations: 79.89 kB / 0.5791 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3182, allocations: 62 kB / 0.5792 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.3191, allocations: 0.6964 MB / 0.5799 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.414e-05/0.3191, allocations: 112.6 kB / 0.58 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.3193, allocations: 92.41 kB / 0.5801 GB, free: 10.48 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3193, allocations: 0 / 0.5801 GB, free: 10.48 MB / 490.7 MB Notification: Performance of Templates: time 0.005506/0.3248, allocations: 5.471 MB / 0.5854 GB, free: 5.031 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.583349451422691]