Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000993/0.000993, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.002013/0.002013, allocations: 173 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 186 MB, free: 2.324 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.38 MB / 270.7 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 299.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.285e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2807/0.2808, allocations: 143.8 MB / 442.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.2878, allocations: 7.073 MB / 450 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.288, allocations: 0 / 450 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.2883, allocations: 51.61 kB / 450 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.2919, allocations: 1.498 MB / 451.5 MB, free: 5.305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2922, allocations: 143.7 kB / 451.7 MB, free: 5.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.2928, allocations: 417.9 kB / 452.1 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.2929, allocations: 10.47 kB / 452.1 MB, free: 4.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.2932, allocations: 227.4 kB / 452.3 MB, free: 4.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.2934, allocations: 155.6 kB / 452.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.2934, allocations: 8 kB / 452.5 MB, free: 4.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.2954, allocations: 1.214 MB / 453.7 MB, free: 3.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.2954, allocations: 51.8 kB / 453.7 MB, free: 3.098 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.2955, allocations: 79.78 kB / 453.8 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.2972, allocations: 1.083 MB / 454.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2972, allocations: 0 / 454.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2972, allocations: 0 / 454.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2972, allocations: 0 / 454.9 MB, free: 1.934 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.0009799/0.2982, allocations: 0.6275 MB / 455.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2982, allocations: 8.031 kB / 455.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/0.3016, allocations: 0.7383 MB / 456.3 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3019, allocations: 165.5 kB / 456.4 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.3023, allocations: 230.6 kB / 456.7 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.3023, allocations: 32.12 kB / 456.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1835/0.4858, allocations: 0.6496 MB / 457.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4858, allocations: 1.688 kB / 457.3 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.4859, allocations: 10.69 kB / 457.4 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.4859, allocations: 7.562 kB / 457.4 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.4864, allocations: 378.4 kB / 457.7 MB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4875, allocations: 1.278 MB / 459 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4877, allocations: 100.5 kB / 459.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.4877, allocations: 57.05 kB / 459.2 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/0.4884, allocations: 0.5619 MB / 459.7 MB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4884, allocations: 36.97 kB / 459.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.4884, allocations: 0 / 459.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006052/0.489, allocations: 239.9 kB / 460 MB, free: 7.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/0.489, allocations: 54.52 kB / 460.1 MB, free: 7.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4891, allocations: 206.5 kB / 460.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4892, allocations: 28.98 kB / 460.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.4892, allocations: 184.8 kB / 460.5 MB, free: 7.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.4892, allocations: 75.83 kB / 460.5 MB, free: 6.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.4893, allocations: 85.8 kB / 460.6 MB, free: 6.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.4894, allocations: 326.8 kB / 460.9 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.4894, allocations: 38.28 kB / 461 MB, free: 6.645 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.4895, allocations: 241.3 kB / 461.2 MB, free: 6.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4898, allocations: 325.7 kB / 461.5 MB, free: 6.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4898, allocations: 2.438 kB / 461.5 MB, free: 6.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003266/0.4901, allocations: 269.3 kB / 461.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4901, allocations: 8.156 kB / 461.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4902, allocations: 7.562 kB / 461.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4902, allocations: 9.906 kB / 461.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.4905, allocations: 119.1 kB / 461.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001725/0.4906, allocations: 0.5994 MB / 462.5 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.4908, allocations: 50.72 kB / 462.6 MB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.4908, allocations: 37.02 kB / 462.6 MB, free: 5.516 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.735e-05/0.4909, allocations: 140.4 kB / 462.8 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.491, allocations: 24.06 kB / 462.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.4913, allocations: 245.1 kB / 463 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4913, allocations: 3.922 kB / 463 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.4913, allocations: 0 / 463 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4913, allocations: 1.078 kB / 463 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.4917, allocations: 348 kB / 463.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4917, allocations: 2.594 kB / 463.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4918, allocations: 44.66 kB / 463.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4918, allocations: 3.375 kB / 463.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4918, allocations: 7.984 kB / 463.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003622/0.4922, allocations: 0.5849 MB / 464 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4922, allocations: 1.781 kB / 464 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.4924, allocations: 233.6 kB / 464.2 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.4924, allocations: 24.59 kB / 464.3 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.4925, allocations: 7.781 kB / 464.3 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4926, allocations: 8.078 kB / 464.3 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.4926, allocations: 23.23 kB / 464.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4926, allocations: 12.69 kB / 464.3 MB, free: 20.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.219e-05/0.4927, allocations: 54.92 kB / 464.4 MB, free: 20.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4927, allocations: 1.156 kB / 464.4 MB, free: 20.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005237/0.4932, allocations: 193.3 kB / 464.6 MB, free: 20.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0006301/0.4938, allocations: 346.5 kB / 464.9 MB, free: 20.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.4941, allocations: 185.2 kB / 465.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.4941, allocations: 3.594 kB / 465.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.4942, allocations: 65.08 kB / 465.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4945, allocations: 82.94 kB / 465.2 MB, free: 20.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.4968, allocations: 1.922 MB / 467.1 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.4968, allocations: 73.89 kB / 467.2 MB, free: 19.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.4971, allocations: 104 kB / 467.3 MB, free: 19.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.4974, allocations: 137 kB / 467.5 MB, free: 19.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4974, allocations: 0 / 467.5 MB, free: 19.85 MB / 426.7 MB Notification: Performance of Templates: time 0.009082/0.5064, allocations: 7.331 MB / 474.8 MB, free: 19.26 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.644799625966698]