Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001801/0.001801, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002262/0.002262, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2461/0.2461, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 67.91 kB / 468 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1578, allocations: 61.05 MB / 0.5167 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5009/0.6588, allocations: 130.2 MB / 0.6438 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.6691, allocations: 6.339 MB / 0.65 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.6693, allocations: 4 kB / 0.65 GB, free: 9.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.6697, allocations: 55.61 kB / 0.6501 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.6746, allocations: 1.458 MB / 0.6515 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.675, allocations: 143.8 kB / 0.6516 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.6758, allocations: 394.2 kB / 0.652 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.6758, allocations: 9.797 kB / 0.652 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.6763, allocations: 179.3 kB / 0.6522 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.6767, allocations: 163.5 kB / 0.6523 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.6767, allocations: 8 kB / 0.6523 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.6794, allocations: 1.127 MB / 0.6534 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.6796, allocations: 47.81 kB / 0.6535 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.6797, allocations: 91.59 kB / 0.6536 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.6825, allocations: 0.962 MB / 0.6545 GB, free: 4.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6825, allocations: 4 kB / 0.6545 GB, free: 4.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6825, allocations: 4 kB / 0.6545 GB, free: 4.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.6825, allocations: 0 / 0.6545 GB, free: 4.727 MB / 494.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.001858/0.6844, allocations: 0.6526 MB / 0.6552 GB, free: 4.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6844, allocations: 8.031 kB / 0.6552 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007719/0.6922, allocations: 0.5941 MB / 0.6557 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.6929, allocations: 210.4 kB / 0.6559 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.6931, allocations: 226.1 kB / 0.6562 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6933, allocations: 24 kB / 0.6562 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.6947, allocations: 0.7422 MB / 0.6569 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.6947, allocations: 0 / 0.6569 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.6948, allocations: 12 kB / 0.6569 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.6948, allocations: 4 kB / 0.6569 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.6964, allocations: 0.6221 MB / 0.6575 GB, free: 1.457 MB / 494.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.002678/0.699, allocations: 1.409 MB / 0.6589 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.6995, allocations: 146.5 kB / 0.659 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.6996, allocations: 82.45 kB / 0.6591 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.7009, allocations: 0.6026 MB / 0.6597 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.701, allocations: 38.56 kB / 0.6597 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.701, allocations: 4 kB / 0.6598 GB, free: 15.06 MB / 0.4981 GB 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=18): time 0.001162/0.7021, allocations: 322.5 kB / 0.6601 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.7022, allocations: 55.34 kB / 0.6601 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.7024, allocations: 211.3 kB / 0.6603 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.7025, allocations: 25.7 kB / 0.6603 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.7026, allocations: 187.8 kB / 0.6605 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.7027, allocations: 67.42 kB / 0.6606 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.7028, allocations: 98 kB / 0.6607 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.703, allocations: 322.8 kB / 0.661 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.7032, allocations: 64.7 kB / 0.661 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.7035, allocations: 267.8 kB / 0.6613 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.7041, allocations: 366.2 kB / 0.6616 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7041, allocations: 4 kB / 0.6617 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007157/0.7049, allocations: 365.8 kB / 0.662 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.7049, allocations: 9.875 kB / 0.662 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7049, allocations: 8 kB / 0.662 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.7049, allocations: 8.781 kB / 0.662 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.7053, allocations: 127.8 kB / 0.6621 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.7058, allocations: 0.6093 MB / 0.6627 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.7061, allocations: 52.84 kB / 0.6628 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.7061, allocations: 36 kB / 0.6628 GB, free: 11.64 MB / 0.4981 GB 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.0002015/0.7063, allocations: 157.4 kB / 0.663 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.7064, allocations: 19.84 kB / 0.663 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.7071, allocations: 297.3 kB / 0.6633 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7071, allocations: 4 kB / 0.6633 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7071, allocations: 0 / 0.6633 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7071, allocations: 0 / 0.6633 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.7079, allocations: 463.5 kB / 0.6637 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7079, allocations: 0 / 0.6637 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.7081, allocations: 59.91 kB / 0.6638 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7081, allocations: 4 kB / 0.6638 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.7081, allocations: 7.984 kB / 0.6638 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004225/0.7086, allocations: 0.5938 MB / 0.6644 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7086, allocations: 3.625 kB / 0.6644 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.709, allocations: 275.2 kB / 0.6646 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.7091, allocations: 39.88 kB / 0.6647 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.7092, allocations: 12 kB / 0.6647 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.7094, allocations: 11.94 kB / 0.6647 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.7094, allocations: 15.97 kB / 0.6647 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.7095, allocations: 19.98 kB / 0.6647 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001616/0.7096, allocations: 139 kB / 0.6649 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.7096, allocations: 0 / 0.6649 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009059/0.7105, allocations: 191.6 kB / 0.6651 GB, free: 9.246 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001016/0.7116, allocations: 313.3 kB / 0.6654 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.7121, allocations: 220.5 kB / 0.6656 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7121, allocations: 0.5625 kB / 0.6656 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.7123, allocations: 93.41 kB / 0.6657 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.7129, allocations: 65.5 kB / 0.6657 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.7166, allocations: 1.939 MB / 0.6676 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.7167, allocations: 112.5 kB / 0.6677 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.7171, allocations: 106.2 kB / 0.6678 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7172, allocations: 39.42 kB / 0.6679 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.7172, allocations: 0 / 0.6679 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.01395/0.7312, allocations: 6.519 MB / 0.6742 GB, free: 15.83 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.383000889793038]