Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001869/0.001869, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002078/0.002078, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.569/1.569, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2215/0.2215, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.031e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3815/0.3816, allocations: 132 MB / 0.5613 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.3884, allocations: 4.612 MB / 0.5658 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3886, allocations: 3.938 kB / 0.5658 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3889, allocations: 55.55 kB / 0.5658 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.3925, allocations: 1.261 MB / 0.5671 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.3929, allocations: 149.7 kB / 0.5672 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.3936, allocations: 401.9 kB / 0.5676 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.3936, allocations: 13.8 kB / 0.5676 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.3941, allocations: 223.4 kB / 0.5678 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.3945, allocations: 163.6 kB / 0.568 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.3945, allocations: 8 kB / 0.568 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.3965, allocations: 0.9397 MB / 0.5689 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3966, allocations: 47.77 kB / 0.5689 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3967, allocations: 79.83 kB / 0.569 GB, free: 9.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.3986, allocations: 0.9508 MB / 0.5699 GB, free: 9.004 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3986, allocations: 0 / 0.5699 GB, free: 9.004 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3986, allocations: 0 / 0.5699 GB, free: 9.004 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3986, allocations: 1.688 kB / 0.5699 GB, free: 9.004 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.001572/0.4002, allocations: 0.6138 MB / 0.5705 GB, free: 8.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4003, allocations: 12.03 kB / 0.5706 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008513/0.4088, allocations: 0.6444 MB / 0.5712 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.4095, allocations: 201.5 kB / 0.5714 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.4097, allocations: 238.6 kB / 0.5716 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4099, allocations: 19.94 kB / 0.5716 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4114, allocations: 0.7423 MB / 0.5723 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4115, allocations: 0 / 0.5723 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.4116, allocations: 12 kB / 0.5724 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.4116, allocations: 4 kB / 0.5724 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4133, allocations: 0.6223 MB / 0.573 GB, free: 5.723 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.002607/0.4159, allocations: 1.395 MB / 0.5743 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.4164, allocations: 149.2 kB / 0.5745 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.4165, allocations: 72.81 kB / 0.5745 GB, free: 4.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.4173, allocations: 380 kB / 0.5749 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.4173, allocations: 34.56 kB / 0.5749 GB, free: 3.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.933e-06/0.4173, allocations: 1.594 kB / 0.5749 GB, free: 3.59 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.00124/0.4186, allocations: 316.9 kB / 0.5752 GB, free: 3.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.4186, allocations: 59.34 kB / 0.5753 GB, free: 3.207 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4189, allocations: 203 kB / 0.5755 GB, free: 2.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.419, allocations: 29.7 kB / 0.5755 GB, free: 2.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.4191, allocations: 191.7 kB / 0.5757 GB, free: 2.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.4192, allocations: 75.47 kB / 0.5758 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4194, allocations: 94 kB / 0.5759 GB, free: 2.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.4196, allocations: 330.8 kB / 0.5762 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4197, allocations: 64.7 kB / 0.5762 GB, free: 2.203 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.4201, allocations: 264.5 kB / 0.5765 GB, free: 1.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.4207, allocations: 364.3 kB / 0.5768 GB, free: 1.402 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4207, allocations: 0 / 0.5768 GB, free: 1.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008095/0.4215, allocations: 377.2 kB / 0.5772 GB, free: 1.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4216, allocations: 8 kB / 0.5772 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4216, allocations: 11.98 kB / 0.5772 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.4216, allocations: 15.94 kB / 0.5772 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.4221, allocations: 127.8 kB / 0.5774 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005515/0.4226, allocations: 0.602 MB / 0.5779 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.4229, allocations: 43.73 kB / 0.578 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.423, allocations: 45.44 kB / 0.578 GB, free: 160 kB / 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.0001888/0.4232, allocations: 146.3 kB / 0.5782 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.4233, allocations: 20.09 kB / 0.5782 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009568/0.4243, allocations: 436.5 kB / 0.5786 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4243, allocations: 2.562 kB / 0.5786 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4243, allocations: 0 / 0.5786 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4243, allocations: 0 / 0.5786 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.4252, allocations: 496.2 kB / 0.5791 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4252, allocations: 4.219 kB / 0.5791 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.4255, allocations: 59.91 kB / 0.5791 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4255, allocations: 4 kB / 0.5791 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4255, allocations: 7.984 kB / 0.5792 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004368/0.4259, allocations: 0.6015 MB / 0.5797 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4259, allocations: 7.312 kB / 0.5797 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.4264, allocations: 281.4 kB / 0.58 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4265, allocations: 39.8 kB / 0.5801 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.4265, allocations: 16.05 kB / 0.5801 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.4268, allocations: 7.938 kB / 0.5801 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.4268, allocations: 23.97 kB / 0.5801 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.4269, allocations: 19.92 kB / 0.5801 GB, free: 13.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.427, allocations: 146.7 kB / 0.5803 GB, free: 13.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.427, allocations: 0 / 0.5803 GB, free: 13.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007283/0.4277, allocations: 147.7 kB / 0.5804 GB, free: 13.6 MB / 494.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.0006107/0.4284, allocations: 247.7 kB / 0.5806 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.4289, allocations: 211.6 kB / 0.5808 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.429, allocations: 1.875 kB / 0.5808 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.4292, allocations: 75.83 kB / 0.5809 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.4297, allocations: 65.83 kB / 0.581 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4312, allocations: 0.6657 MB / 0.5816 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.4313, allocations: 108.7 kB / 0.5817 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007226/0.4321, allocations: 393.4 kB / 0.5821 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.4323, allocations: 72.44 kB / 0.5822 GB, free: 11.71 MB / 494.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4323, allocations: 0 / 0.5822 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Templates: time 0.01195/0.4442, allocations: 5.239 MB / 0.5873 GB, free: 6.539 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.553215604275465]