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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001963, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002197, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8959/0.8959, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1738/1.07, allocations: 52.5 MB / 238.5 MB, free: 7.621 MB / 234.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.1377/0.1377, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02387/0.1616, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.913e-06/1.913e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.725e-05, allocations: 2.312 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3126/0.3127, allocations: 143 MB / 428.8 MB, free: 9.137 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.3167, allocations: 5.276 MB / 434.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.3168, allocations: 0 / 434.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.317, allocations: 51.62 kB / 434.2 MB, free: 3.824 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.3198, allocations: 1.243 MB / 435.4 MB, free: 2.574 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3201, allocations: 143.7 kB / 435.6 MB, free: 2.434 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.3205, allocations: 421.9 kB / 436 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.3206, allocations: 23 kB / 436 MB, free: 1.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.3209, allocations: 227.4 kB / 436.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3211, allocations: 159.6 kB / 436.4 MB, free: 1.613 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.3211, allocations: 8 kB / 436.4 MB, free: 1.605 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3226, allocations: 0.9944 MB / 437.4 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.3226, allocations: 27.88 kB / 437.4 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.3227, allocations: 67.88 kB / 437.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3237, allocations: 0.8065 MB / 438.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.3237, allocations: 0 / 438.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3237, allocations: 0 / 438.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.3237, allocations: 0 / 438.3 MB, free: 15.71 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.001031/0.3247, allocations: 0.7777 MB / 439 MB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3248, allocations: 8.031 kB / 439.1 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.3279, allocations: 0.7419 MB / 439.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3282, allocations: 169.4 kB / 440 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3283, allocations: 222.7 kB / 440.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.3284, allocations: 27.94 kB / 440.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3289, allocations: 0.6637 MB / 440.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.329, allocations: 0 / 440.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.329, allocations: 12 kB / 440.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.329, allocations: 11.94 kB / 440.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.3294, allocations: 371.9 kB / 441.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3307, allocations: 1.304 MB / 442.6 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3308, allocations: 106 kB / 442.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.3309, allocations: 48.83 kB / 442.7 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.3312, allocations: 355 kB / 443.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3312, allocations: 38.56 kB / 443.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3312, allocations: 0 / 443.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006513/0.3319, allocations: 293.9 kB / 443.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3319, allocations: 51.41 kB / 443.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.332, allocations: 212.7 kB / 443.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.332, allocations: 29.7 kB / 443.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.3321, allocations: 195.7 kB / 443.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.3321, allocations: 67.45 kB / 443.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.3322, allocations: 89.98 kB / 444 MB, free: 9.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.3323, allocations: 334.7 kB / 444.3 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.3323, allocations: 32.73 kB / 444.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3325, allocations: 235.4 kB / 444.6 MB, free: 8.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3327, allocations: 356.9 kB / 445 MB, free: 8.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3327, allocations: 0 / 445 MB, free: 8.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002523/0.3329, allocations: 271.9 kB / 445.2 MB, free: 8.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.333, allocations: 8 kB / 445.2 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.333, allocations: 10.56 kB / 445.2 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.333, allocations: 8.781 kB / 445.2 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.3332, allocations: 135.8 kB / 445.4 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002332/0.3335, allocations: 0.5976 MB / 446 MB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3336, allocations: 51.62 kB / 446 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.3336, allocations: 35.98 kB / 446.1 MB, free: 7.352 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 8.788e-05/0.3337, allocations: 140.5 kB / 446.2 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3337, allocations: 19.98 kB / 446.2 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.3342, allocations: 377.9 kB / 446.6 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3342, allocations: 3.938 kB / 446.6 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3342, allocations: 0 / 446.6 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3342, allocations: 3.984 kB / 446.6 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.3346, allocations: 405.5 kB / 447 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3346, allocations: 5.422 kB / 447 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3347, allocations: 55.95 kB / 447 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.3348, allocations: 23.84 kB / 447.1 MB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3348, allocations: 4 kB / 447.1 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3348, allocations: 11.98 kB / 447.1 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001861/0.335, allocations: 0.59 MB / 447.7 MB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.335, allocations: 4.031 kB / 447.7 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.3351, allocations: 241.4 kB / 447.9 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3352, allocations: 11.94 kB / 447.9 MB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3353, allocations: 10.06 kB / 447.9 MB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.3353, allocations: 23.91 kB / 448 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3353, allocations: 11.98 kB / 448 MB, free: 5.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.749e-05/0.3354, allocations: 52.75 kB / 448 MB, free: 5.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3354, allocations: 0 / 448 MB, free: 5.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.3358, allocations: 151.7 kB / 448.2 MB, free: 5.113 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.0004685/0.3362, allocations: 264.9 kB / 448.4 MB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3365, allocations: 203.1 kB / 448.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.3365, allocations: 4 kB / 448.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3366, allocations: 77.55 kB / 448.7 MB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.337, allocations: 192.5 kB / 448.9 MB, free: 4.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.3406, allocations: 0.6728 MB / 449.6 MB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.3407, allocations: 73.22 kB / 449.6 MB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005424/0.3412, allocations: 379.9 kB / 450 MB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.3415, allocations: 153.2 kB / 450.2 MB, free: 3.059 MB / 410.7 MB Notification: Performance of SimCode: time 3.496e-06/0.3415, allocations: 4 kB / 450.2 MB, free: 3.055 MB / 410.7 MB Notification: Performance of Templates: time 0.008373/0.3499, allocations: 6.015 MB / 456.2 MB, free: 13.11 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.4906611079350114]