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.0009811/0.0009811, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001016/0.001016, allocations: 170 kB / 24.91 MB, free: 9.148 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.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2772/0.2772, allocations: 32.81 MB / 294.6 MB, free: 0.6719 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.[0-9,]+.|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.[0-9,]+.|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 / 323.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.828e-05, allocations: 4.281 kB / 323.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3202/0.3202, allocations: 145.4 MB / 468.7 MB, free: 16.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3236, allocations: 5.253 MB / 473.9 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.3237, allocations: 2.312 kB / 473.9 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.324, allocations: 67.08 kB / 474 MB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.3262, allocations: 1.279 MB / 475.3 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3264, allocations: 152 kB / 475.4 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.3268, allocations: 419 kB / 475.8 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.3269, allocations: 13.69 kB / 475.8 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3271, allocations: 235.2 kB / 476.1 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3273, allocations: 149.8 kB / 476.2 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3273, allocations: 5.844 kB / 476.2 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3284, allocations: 0.948 MB / 477.2 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.3284, allocations: 47.22 kB / 477.2 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.948e-05/0.3285, allocations: 90.41 kB / 477.3 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.3296, allocations: 0.9318 MB / 478.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3296, allocations: 0 / 478.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3296, allocations: 0 / 478.2 MB, free: 16.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3296, allocations: 0 / 478.2 MB, free: 16.51 MB / 410.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.0008323/0.3304, allocations: 0.5896 MB / 478.8 MB, free: 16.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3304, allocations: 11.53 kB / 478.8 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.3337, allocations: 0.7643 MB / 479.6 MB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.334, allocations: 168.6 kB / 479.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.334, allocations: 227.3 kB / 480 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.3341, allocations: 32.12 kB / 480 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.3346, allocations: 0.6565 MB / 480.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3346, allocations: 3.984 kB / 480.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.3347, allocations: 17.39 kB / 480.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.3347, allocations: 5.594 kB / 480.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.3351, allocations: 377.6 kB / 481.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009843/0.3361, allocations: 1.3 MB / 482.4 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3362, allocations: 104.9 kB / 482.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.3363, allocations: 53.5 kB / 482.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.3366, allocations: 370 kB / 482.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.3366, allocations: 33.41 kB / 482.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.3366, allocations: 0 / 482.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004486/0.3371, allocations: 232.9 kB / 483.1 MB, free: 14.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.3371, allocations: 55.41 kB / 483.2 MB, free: 13.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.3372, allocations: 203.2 kB / 483.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3372, allocations: 29.27 kB / 483.4 MB, free: 13.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.3372, allocations: 194.1 kB / 483.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3373, allocations: 66.5 kB / 483.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.3374, allocations: 88.5 kB / 483.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.3374, allocations: 331.2 kB / 484.1 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.3375, allocations: 36.66 kB / 484.1 MB, free: 13.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3376, allocations: 233.9 kB / 484.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3378, allocations: 330.8 kB / 484.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3378, allocations: 0 / 484.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000261/0.338, allocations: 269.6 kB / 484.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.338, allocations: 9.406 kB / 484.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3381, allocations: 7.156 kB / 484.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3381, allocations: 8.125 kB / 485 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.3383, allocations: 115.9 kB / 485.1 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001661/0.3385, allocations: 0.5995 MB / 485.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3386, allocations: 45.44 kB / 485.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.3386, allocations: 35.08 kB / 485.7 MB, free: 12.11 MB / 410.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 7.758e-05/0.3387, allocations: 148.3 kB / 485.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3387, allocations: 24.81 kB / 485.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3391, allocations: 375.5 kB / 486.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3391, allocations: 7.375 kB / 486.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.3391, allocations: 1.203 kB / 486.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3391, allocations: 0 / 486.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.3395, allocations: 407.9 kB / 486.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3395, allocations: 0 / 486.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.3396, allocations: 45.22 kB / 486.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3396, allocations: 3.062 kB / 486.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3396, allocations: 12.52 kB / 486.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001133/0.3397, allocations: 0.5851 MB / 487.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3397, allocations: 288 / 487.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3399, allocations: 255 kB / 487.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3399, allocations: 26.81 kB / 487.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.3399, allocations: 14.11 kB / 487.6 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.34, allocations: 12.89 kB / 487.6 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.34, allocations: 18.64 kB / 487.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3401, allocations: 18.48 kB / 487.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.3401, allocations: 55.14 kB / 487.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3401, allocations: 0 / 487.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.3405, allocations: 149.1 kB / 487.9 MB, free: 10.82 MB / 410.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.0003253/0.3408, allocations: 244.7 kB / 488.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.341, allocations: 173 kB / 488.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.341, allocations: 13.62 kB / 488.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.3411, allocations: 68.77 kB / 488.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3414, allocations: 70.09 kB / 488.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.3424, allocations: 0.6758 MB / 489.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.3424, allocations: 73.7 kB / 489.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.3428, allocations: 383.8 kB / 489.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.343, allocations: 155.6 kB / 489.7 MB, free: 10.21 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.343, allocations: 0 / 489.7 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Templates: time 0.00695/0.35, allocations: 6.141 MB / 495.8 MB, free: 8.66 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",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: 3.653457364998758]