Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.0009933/0.0009933, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009764/0.0009764, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.028/1.028, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1297/0.1297, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 7.938 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.081e-05, allocations: 2.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2958/0.2958, allocations: 129 MB / 476.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.2994, allocations: 4.847 MB / 481.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2996, allocations: 2.406 kB / 481.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.2999, allocations: 64.89 kB / 481.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.3015, allocations: 0.7808 MB / 482.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3017, allocations: 169.1 kB / 482.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.3022, allocations: 395 kB / 483 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3022, allocations: 7.344 kB / 483 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3024, allocations: 215.2 kB / 483.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3026, allocations: 174.4 kB / 483.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3026, allocations: 8.562 kB / 483.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.3034, allocations: 0.618 MB / 484 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.3034, allocations: 48.17 kB / 484.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.3035, allocations: 83.48 kB / 484.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.304, allocations: 460.6 kB / 484.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.304, allocations: 0 / 484.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.304, allocations: 0 / 484.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.304, allocations: 0 / 484.6 MB, free: 10.29 MB / 362.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.0007421/0.3047, allocations: 0.6261 MB / 485.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3048, allocations: 12.62 kB / 485.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.305, allocations: 49.08 kB / 485.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3052, allocations: 177.9 kB / 485.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.3052, allocations: 228.4 kB / 485.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3053, allocations: 24.66 kB / 485.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.3056, allocations: 462.9 kB / 486.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3056, allocations: 384 / 486.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.3056, allocations: 16.88 kB / 486.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.3056, allocations: 5.219 kB / 486.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.306, allocations: 0.5276 MB / 486.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.3067, allocations: 1.213 MB / 487.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3069, allocations: 151.4 kB / 488.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.307, allocations: 70.61 kB / 488.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000697/0.3077, allocations: 0.7807 MB / 488.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3077, allocations: 40.81 kB / 489 MB, free: 7.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.3077, allocations: 0 / 489 MB, free: 7.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004099/0.3081, allocations: 200.1 kB / 489.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.3081, allocations: 55.41 kB / 489.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3082, allocations: 289.9 kB / 489.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3083, allocations: 28.95 kB / 489.5 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.3083, allocations: 265 kB / 489.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3084, allocations: 61.14 kB / 489.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.3084, allocations: 93.91 kB / 489.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.3085, allocations: 0.5046 MB / 490.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.3085, allocations: 34.97 kB / 490.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3087, allocations: 454.3 kB / 490.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3089, allocations: 0.526 MB / 491.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3089, allocations: 5.75 kB / 491.4 MB, free: 4.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003604/0.3093, allocations: 381.2 kB / 491.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3093, allocations: 8.625 kB / 491.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3093, allocations: 15.16 kB / 491.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3093, allocations: 14.03 kB / 491.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3095, allocations: 107.3 kB / 492 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3095, allocations: 21.83 kB / 492 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3097, allocations: 15.94 kB / 492 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3097, allocations: 29 kB / 492 MB, free: 4.562 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.996e-05/0.3098, allocations: 198.6 kB / 492.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3098, allocations: 30.45 kB / 492.2 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.31, allocations: 146.8 kB / 492.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.31, allocations: 0 / 492.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.31, allocations: 0 / 492.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.31, allocations: 7.984 kB / 492.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3103, allocations: 428 kB / 492.8 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3103, allocations: 0 / 492.8 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/0.3104, allocations: 31.08 kB / 492.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3104, allocations: 2.656 kB / 492.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3104, allocations: 2.562 kB / 492.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3104, allocations: 3.938 kB / 492.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3104, allocations: 7.094 kB / 492.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3105, allocations: 271.3 kB / 493.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3106, allocations: 31.7 kB / 493.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3106, allocations: 3 kB / 493.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.3107, allocations: 10.02 kB / 493.2 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.3107, allocations: 13.45 kB / 493.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3107, allocations: 13.48 kB / 493.2 MB, free: 3.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.498e-05/0.3108, allocations: 185.1 kB / 493.4 MB, free: 3.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3108, allocations: 0 / 493.4 MB, free: 3.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.3111, allocations: 99.7 kB / 493.5 MB, free: 3.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002196/0.3113, allocations: 150.7 kB / 493.6 MB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3115, allocations: 178 kB / 493.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3115, allocations: 0 / 493.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.3116, allocations: 42 kB / 493.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3118, allocations: 57.19 kB / 493.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.3127, allocations: 488.6 kB / 494.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.3128, allocations: 78.77 kB / 494.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3129, allocations: 56.88 kB / 494.5 MB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.3129, allocations: 29.12 kB / 494.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3129, allocations: 0 / 494.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of Templates: time 0.004953/0.3179, allocations: 3.482 MB / 498 MB, free: 1.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6384810809977353]