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.001136/0.001136, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002359, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007131/0.0007131, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009073/0.00162, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09965/1.113, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2846/0.2846, allocations: 34.26 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02395/0.3086, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 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.[0-9,]+.|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.[0-9,]+.|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.764e-06/1.764e-06, allocations: 0 / 292.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.898e-05, allocations: 3.188 kB / 292.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1455/0.1455, allocations: 145.9 MB / 438.5 MB, free: 3.832 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1895/0.335, allocations: 5.264 MB / 443.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.3352, allocations: 3.562 kB / 443.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.3354, allocations: 52.19 kB / 443.9 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.3386, allocations: 1.25 MB / 445.1 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.3389, allocations: 143.9 kB / 445.2 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.3395, allocations: 424.6 kB / 445.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3395, allocations: 8.469 kB / 445.7 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.3399, allocations: 239.1 kB / 445.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3402, allocations: 158.6 kB / 446.1 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.3402, allocations: 8.344 kB / 446.1 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.342, allocations: 1.005 MB / 447.1 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.3421, allocations: 31.61 kB / 447.1 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.3422, allocations: 66.08 kB / 447.2 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3435, allocations: 0.8076 MB / 448 MB, free: 3.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.3436, allocations: 0.7812 kB / 448 MB, free: 3.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3436, allocations: 0 / 448 MB, free: 3.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.3436, allocations: 0.8125 kB / 448 MB, free: 3.66 MB / 426.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.001548/0.3451, allocations: 0.782 MB / 448.8 MB, free: 19.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3452, allocations: 7.906 kB / 448.8 MB, free: 19.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.3496, allocations: 0.756 MB / 449.5 MB, free: 19.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3499, allocations: 168.6 kB / 449.7 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.35, allocations: 228.5 kB / 449.9 MB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.3501, allocations: 24.88 kB / 449.9 MB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.3508, allocations: 0.6692 MB / 450.6 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3508, allocations: 2.875 kB / 450.6 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.3508, allocations: 10.75 kB / 450.6 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3508, allocations: 6.531 kB / 450.6 MB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3514, allocations: 380.3 kB / 451 MB, free: 18.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3527, allocations: 1.3 MB / 452.3 MB, free: 17.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3529, allocations: 107.7 kB / 452.4 MB, free: 17.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.3529, allocations: 47.98 kB / 452.4 MB, free: 17.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/0.3534, allocations: 359.1 kB / 452.8 MB, free: 17.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3534, allocations: 37.56 kB / 452.8 MB, free: 17.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3534, allocations: 0 / 452.8 MB, free: 17.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005747/0.354, allocations: 232.6 kB / 453.1 MB, free: 17.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.354, allocations: 56.78 kB / 453.1 MB, free: 17.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3541, allocations: 205.2 kB / 453.3 MB, free: 16.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3541, allocations: 27.64 kB / 453.3 MB, free: 16.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.3542, allocations: 197.3 kB / 453.5 MB, free: 16.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3542, allocations: 62.61 kB / 453.6 MB, free: 16.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.3543, allocations: 90.92 kB / 453.7 MB, free: 16.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.3544, allocations: 331 kB / 454 MB, free: 16.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.3545, allocations: 43.41 kB / 454.1 MB, free: 16.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3546, allocations: 236.9 kB / 454.3 MB, free: 16.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.3548, allocations: 323.1 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3548, allocations: 2.453 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003184/0.3552, allocations: 272.6 kB / 454.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3552, allocations: 10.66 kB / 454.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3552, allocations: 11.95 kB / 454.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3552, allocations: 8.656 kB / 454.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.3555, allocations: 132.5 kB / 455 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002583/0.3558, allocations: 0.5965 MB / 455.6 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.356, allocations: 49.05 kB / 455.7 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.356, allocations: 36.38 kB / 455.7 MB, free: 15.21 MB / 442.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 9.766e-05/0.3561, allocations: 148.2 kB / 455.9 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.3561, allocations: 17.41 kB / 455.9 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.3566, allocations: 376.3 kB / 456.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3566, allocations: 3.844 kB / 456.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3566, allocations: 3.938 kB / 456.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3566, allocations: 0.8438 kB / 456.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.3571, allocations: 407.3 kB / 456.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3571, allocations: 3.844 kB / 456.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3572, allocations: 58.05 kB / 456.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.3573, allocations: 29.06 kB / 456.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3573, allocations: 3.812 kB / 456.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3573, allocations: 12.36 kB / 456.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002253/0.3575, allocations: 0.5845 MB / 457.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3575, allocations: 7.125 kB / 457.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.3577, allocations: 234.6 kB / 457.6 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3577, allocations: 22.61 kB / 457.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3579, allocations: 12.91 kB / 457.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.3579, allocations: 22.91 kB / 457.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3579, allocations: 18.8 kB / 457.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.358, allocations: 50.39 kB / 457.7 MB, free: 13.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 1.203 kB / 457.7 MB, free: 13.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.3585, allocations: 152.8 kB / 457.8 MB, free: 13.95 MB / 442.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.000368/0.3589, allocations: 239.9 kB / 458.1 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.3592, allocations: 191.8 kB / 458.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.3592, allocations: 10.98 kB / 458.3 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3593, allocations: 74.56 kB / 458.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.3597, allocations: 108 kB / 458.5 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.3642, allocations: 0.6803 MB / 459.1 MB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.3643, allocations: 73.27 kB / 459.2 MB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.3648, allocations: 386.9 kB / 459.6 MB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.365, allocations: 160.9 kB / 459.7 MB, free: 13.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.365, allocations: 0 / 459.7 MB, free: 13.4 MB / 442.7 MB Notification: Performance of Templates: time 0.009022/0.3741, allocations: 6.247 MB / 466 MB, free: 12.95 MB / 442.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.71702915802598]