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.001621/0.001621, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001728/0.001728, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1938/0.1938, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.443e-06/1.443e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.632e-05, allocations: 6.219 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3738/0.3739, allocations: 132 MB / 0.5587 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.3799, allocations: 4.608 MB / 0.5632 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.38, allocations: 0 / 0.5632 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.3803, allocations: 55.55 kB / 0.5633 GB, free: 1.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.3837, allocations: 1.267 MB / 0.5645 GB, free: 0 / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.384, allocations: 142.8 kB / 0.5647 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.3846, allocations: 405.8 kB / 0.565 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.3846, allocations: 9.812 kB / 0.5651 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.385, allocations: 231.3 kB / 0.5653 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.3853, allocations: 159.6 kB / 0.5654 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.3853, allocations: 8 kB / 0.5654 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.3871, allocations: 0.932 MB / 0.5663 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.3872, allocations: 55.73 kB / 0.5664 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3873, allocations: 84.52 kB / 0.5665 GB, free: 14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3887, allocations: 0.9392 MB / 0.5674 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3887, allocations: 0 / 0.5674 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3887, allocations: 4 kB / 0.5674 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3888, allocations: 0 / 0.5674 GB, free: 13.05 MB / 478.1 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.001423/0.3902, allocations: 0.6177 MB / 0.568 GB, free: 12.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3902, allocations: 15.97 kB / 0.568 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008064/0.3983, allocations: 0.6367 MB / 0.5686 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.3987, allocations: 209.4 kB / 0.5688 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.3989, allocations: 226.7 kB / 0.5691 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.399, allocations: 23.92 kB / 0.5691 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.4004, allocations: 0.7448 MB / 0.5698 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4004, allocations: 4 kB / 0.5698 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.4005, allocations: 12 kB / 0.5698 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.4005, allocations: 4 kB / 0.5698 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.4021, allocations: 0.6223 MB / 0.5704 GB, free: 9.762 MB / 478.1 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.002103/0.4042, allocations: 1.395 MB / 0.5718 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.4046, allocations: 152.8 kB / 0.5719 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.4047, allocations: 72.86 kB / 0.572 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.4053, allocations: 372.1 kB / 0.5724 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.4053, allocations: 34.5 kB / 0.5724 GB, free: 7.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.4053, allocations: 7 kB / 0.5724 GB, free: 7.633 MB / 478.1 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.001071/0.4064, allocations: 319.9 kB / 0.5727 GB, free: 7.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4064, allocations: 59.34 kB / 0.5728 GB, free: 7.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4066, allocations: 203 kB / 0.573 GB, free: 7.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4067, allocations: 29.7 kB / 0.573 GB, free: 7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4068, allocations: 199.7 kB / 0.5732 GB, free: 6.801 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.4069, allocations: 63.48 kB / 0.5732 GB, free: 6.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.407, allocations: 98 kB / 0.5733 GB, free: 6.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4071, allocations: 330.8 kB / 0.5736 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4073, allocations: 69.64 kB / 0.5737 GB, free: 6.238 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.4076, allocations: 260.5 kB / 0.574 GB, free: 5.891 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.4081, allocations: 367 kB / 0.5743 GB, free: 5.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4081, allocations: 4 kB / 0.5743 GB, free: 5.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006988/0.4088, allocations: 369.8 kB / 0.5747 GB, free: 5.066 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4089, allocations: 8 kB / 0.5747 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4089, allocations: 8 kB / 0.5747 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4089, allocations: 8 kB / 0.5747 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.4093, allocations: 138.9 kB / 0.5748 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004037/0.4097, allocations: 0.6022 MB / 0.5754 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.41, allocations: 43.67 kB / 0.5755 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.4101, allocations: 43.98 kB / 0.5755 GB, free: 4.199 MB / 478.1 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.0001535/0.4102, allocations: 142.3 kB / 0.5756 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.4103, allocations: 19.91 kB / 0.5757 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.4112, allocations: 443 kB / 0.5761 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4112, allocations: 0 / 0.5761 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4112, allocations: 0 / 0.5761 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4112, allocations: 3.984 kB / 0.5761 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/0.412, allocations: 497.9 kB / 0.5766 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.412, allocations: 4 kB / 0.5766 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4122, allocations: 59.91 kB / 0.5766 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.4122, allocations: 4 kB / 0.5766 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4123, allocations: 8 kB / 0.5766 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.4126, allocations: 0.5907 MB / 0.5772 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4126, allocations: 7.969 kB / 0.5772 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.413, allocations: 288.5 kB / 0.5775 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.4131, allocations: 35.83 kB / 0.5775 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.4132, allocations: 15.89 kB / 0.5775 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4134, allocations: 8.859 kB / 0.5775 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.4135, allocations: 27.84 kB / 0.5776 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.4135, allocations: 16 kB / 0.5776 GB, free: 1.934 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.4136, allocations: 142.7 kB / 0.5777 GB, free: 1.793 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4136, allocations: 0 / 0.5777 GB, free: 1.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006255/0.4143, allocations: 151.7 kB / 0.5779 GB, free: 1.645 MB / 478.1 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.0004742/0.4147, allocations: 246.9 kB / 0.5781 GB, free: 1.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.4152, allocations: 225.3 kB / 0.5783 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4153, allocations: 4 kB / 0.5783 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.4155, allocations: 80.45 kB / 0.5784 GB, free: 1.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.416, allocations: 57.3 kB / 0.5785 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.4173, allocations: 0.6648 MB / 0.5791 GB, free: 332 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.4174, allocations: 116.6 kB / 0.5792 GB, free: 196 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.4181, allocations: 386.1 kB / 0.5796 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.4183, allocations: 76.31 kB / 0.5797 GB, free: 15.74 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4183, allocations: 0 / 0.5797 GB, free: 15.74 MB / 494.1 MB Notification: Performance of Templates: time 0.01075/0.429, allocations: 5.242 MB / 0.5848 GB, free: 10.57 MB / 494.1 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.13557656109333]