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.0009749/0.0009749, 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.001042/0.001042, allocations: 178.1 kB / 24.92 MB, free: 8.645 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.9687/0.9687, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2449/0.2449, allocations: 34.26 MB / 296.1 MB, free: 0.6914 MB / 266.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.112e-06/1.112e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.744e-05, allocations: 4 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3156/0.3156, allocations: 145.4 MB / 470.7 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.3194, allocations: 5.248 MB / 475.9 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.3195, allocations: 7.406 kB / 475.9 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.3199, allocations: 55.59 kB / 476 MB, free: 16.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.3222, allocations: 1.287 MB / 477.3 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.3224, allocations: 151.1 kB / 477.4 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.3229, allocations: 426.2 kB / 477.8 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.323, allocations: 7.938 kB / 477.8 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.3233, allocations: 233.2 kB / 478.1 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3235, allocations: 155 kB / 478.2 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3235, allocations: 7.531 kB / 478.2 MB, free: 16.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3245, allocations: 0.9467 MB / 479.2 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.3246, allocations: 51.42 kB / 479.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.3247, allocations: 83.08 kB / 479.3 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.3255, allocations: 0.9333 MB / 480.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3255, allocations: 0 / 480.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3255, allocations: 1.203 kB / 480.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3255, allocations: 0 / 480.2 MB, free: 16.09 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.0008099/0.3264, allocations: 0.5885 MB / 480.8 MB, free: 15.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3264, allocations: 11.28 kB / 480.8 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.3296, allocations: 0.7657 MB / 481.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3298, allocations: 170.5 kB / 481.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.3299, allocations: 230.2 kB / 482 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.33, allocations: 25.25 kB / 482 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.3305, allocations: 0.6686 MB / 482.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3305, allocations: 0 / 482.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3306, allocations: 9.594 kB / 482.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.3306, allocations: 8.438 kB / 482.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.331, allocations: 377.8 kB / 483.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.332, allocations: 1.301 MB / 484.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.3321, allocations: 108.8 kB / 484.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.3322, allocations: 49.73 kB / 484.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.3325, allocations: 363.4 kB / 484.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3325, allocations: 37.16 kB / 484.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.3325, allocations: 0 / 484.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000465/0.333, allocations: 232.4 kB / 485.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.333, allocations: 56.98 kB / 485.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3331, allocations: 200.6 kB / 485.4 MB, free: 13.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3331, allocations: 29.27 kB / 485.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3332, allocations: 198.6 kB / 485.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3332, allocations: 62.02 kB / 485.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.3333, allocations: 84.48 kB / 485.8 MB, free: 13.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3333, allocations: 336.7 kB / 486.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.013e-05/0.3333, allocations: 39.92 kB / 486.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.3334, allocations: 231.6 kB / 486.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3336, allocations: 327.2 kB / 486.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3336, allocations: 2.062 kB / 486.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002393/0.3339, allocations: 268.1 kB / 487 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3339, allocations: 9.188 kB / 487 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3339, allocations: 8.375 kB / 487 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3339, allocations: 16.41 kB / 487 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3341, allocations: 109.5 kB / 487.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000159/0.3343, allocations: 0.6015 MB / 487.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3344, allocations: 46.52 kB / 487.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3344, allocations: 34.44 kB / 487.8 MB, free: 11.68 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.756e-05/0.3345, allocations: 141.2 kB / 487.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.3345, allocations: 21.98 kB / 487.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3349, allocations: 372.6 kB / 488.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3349, allocations: 3.938 kB / 488.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3349, allocations: 5.75 kB / 488.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3349, allocations: 0 / 488.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3353, allocations: 409.2 kB / 488.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3353, allocations: 0 / 488.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.3354, allocations: 48.75 kB / 488.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3354, allocations: 3.922 kB / 488.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3355, allocations: 2.938 kB / 488.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001215/0.3356, allocations: 0.5902 MB / 489.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3356, allocations: 7.031 kB / 489.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3357, allocations: 243.2 kB / 489.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3357, allocations: 26.61 kB / 489.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3358, allocations: 13.27 kB / 489.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.3359, allocations: 11.02 kB / 489.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.3359, allocations: 20.83 kB / 489.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3359, allocations: 16.3 kB / 489.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.577e-05/0.336, allocations: 57.86 kB / 489.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.336, allocations: 2.906 kB / 489.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.3363, allocations: 154.1 kB / 489.9 MB, free: 10.39 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.0003135/0.3366, allocations: 234.9 kB / 490.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3368, allocations: 186.1 kB / 490.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.3368, allocations: 6.656 kB / 490.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.3369, allocations: 62.64 kB / 490.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3372, allocations: 80.84 kB / 490.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3382, allocations: 0.6734 MB / 491.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.3382, allocations: 75.86 kB / 491.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.3386, allocations: 383.8 kB / 491.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.3388, allocations: 155.5 kB / 491.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3388, allocations: 0 / 491.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of Templates: time 0.006897/0.3457, allocations: 6.146 MB / 497.9 MB, free: 7.875 MB / 410.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 -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] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5199841279536486]