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.0009474/0.0009474, 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.001049/0.001049, allocations: 175.2 kB / 24.92 MB, free: 9.191 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.9956/0.9956, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2721/0.2721, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.473e-06/1.473e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.44e-05, allocations: 3.516 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3191/0.3191, allocations: 145.5 MB / 468.8 MB, free: 16.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.3225, allocations: 5.247 MB / 474 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.3226, allocations: 3 kB / 474 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.3228, allocations: 60.48 kB / 474.1 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.3246, allocations: 1.254 MB / 475.3 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.3248, allocations: 151.1 kB / 475.5 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.3252, allocations: 418.8 kB / 475.9 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.3252, allocations: 8.781 kB / 475.9 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3254, allocations: 234.3 kB / 476.1 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.3256, allocations: 154.6 kB / 476.3 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3256, allocations: 8.766 kB / 476.3 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.3266, allocations: 1.003 MB / 477.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.3266, allocations: 45.83 kB / 477.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3267, allocations: 88.98 kB / 477.4 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.3274, allocations: 0.9341 MB / 478.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3274, allocations: 2.578 kB / 478.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3274, allocations: 0 / 478.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3274, allocations: 0 / 478.3 MB, free: 16.54 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.0006921/0.3281, allocations: 0.589 MB / 478.9 MB, free: 16.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.3281, allocations: 8.969 kB / 478.9 MB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.3314, allocations: 0.7738 MB / 479.7 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3317, allocations: 161.9 kB / 479.9 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.3317, allocations: 232.2 kB / 480.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.3318, allocations: 27.69 kB / 480.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.3322, allocations: 0.6612 MB / 480.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3322, allocations: 1.203 kB / 480.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.3323, allocations: 18.78 kB / 480.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3323, allocations: 6.969 kB / 480.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.3327, allocations: 372.8 kB / 481.2 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.3336, allocations: 1.303 MB / 482.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3337, allocations: 101.9 kB / 482.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.3337, allocations: 46.09 kB / 482.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.334, allocations: 363.2 kB / 483 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.334, allocations: 36.5 kB / 483 MB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.334, allocations: 0 / 483 MB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004451/0.3345, allocations: 232.4 kB / 483.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.443e-05/0.3345, allocations: 55.41 kB / 483.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.3346, allocations: 206.7 kB / 483.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3346, allocations: 32.17 kB / 483.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.3346, allocations: 190.2 kB / 483.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.3346, allocations: 63.47 kB / 483.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.3347, allocations: 88.47 kB / 483.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.944e-05/0.3347, allocations: 329.8 kB / 484.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.3348, allocations: 43.88 kB / 484.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.808e-05/0.3349, allocations: 239.3 kB / 484.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.335, allocations: 323.6 kB / 484.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3351, allocations: 3.406 kB / 484.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002341/0.3353, allocations: 270.2 kB / 485 MB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3353, allocations: 12.34 kB / 485.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3353, allocations: 5.938 kB / 485.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3353, allocations: 8.594 kB / 485.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3355, allocations: 118.6 kB / 485.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001356/0.3357, allocations: 0.599 MB / 485.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3358, allocations: 48.75 kB / 485.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.3358, allocations: 40.23 kB / 485.9 MB, free: 12.13 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 6.674e-05/0.3359, allocations: 141.5 kB / 486 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.3359, allocations: 20.06 kB / 486 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.3363, allocations: 377.8 kB / 486.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3363, allocations: 9.141 kB / 486.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3363, allocations: 5.625 kB / 486.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3363, allocations: 0 / 486.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.3366, allocations: 407.9 kB / 486.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3366, allocations: 0 / 486.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3367, allocations: 48.38 kB / 486.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3367, allocations: 5.281 kB / 486.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3368, allocations: 7.219 kB / 486.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001/0.3369, allocations: 0.5921 MB / 487.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3369, allocations: 5.875 kB / 487.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.337, allocations: 240.5 kB / 487.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.337, allocations: 27.48 kB / 487.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.337, allocations: 16.92 kB / 487.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3371, allocations: 10.28 kB / 487.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3372, allocations: 16.67 kB / 487.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3372, allocations: 22.2 kB / 487.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.3372, allocations: 57.84 kB / 487.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3372, allocations: 2.625 kB / 487.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.3375, allocations: 146.3 kB / 488 MB, free: 10.84 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.0002728/0.3378, allocations: 238.5 kB / 488.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.338, allocations: 186.4 kB / 488.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.338, allocations: 5.406 kB / 488.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.3381, allocations: 64.06 kB / 488.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3384, allocations: 78.16 kB / 488.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/0.3393, allocations: 0.6827 MB / 489.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.3393, allocations: 73.61 kB / 489.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003639/0.3397, allocations: 376 kB / 489.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.3399, allocations: 156.1 kB / 489.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.3399, allocations: 0 / 489.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Templates: time 0.006532/0.3464, allocations: 6.14 MB / 496 MB, free: 8.688 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 -s gbode -gbm=radauIIA3 -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.4085497208870947]