Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.000832/0.000832, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002102, 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.0007097/0.0007097, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001768, 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.9126/0.9126, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1728/1.085, allocations: 52.48 MB / 238.5 MB, free: 7.648 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.142/0.142, allocations: 32.8 MB / 272 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01769/0.1597, allocations: 12.54 MB / 284.5 MB, free: 9.734 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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.663e-05, allocations: 5.125 kB / 285.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3175/0.3175, allocations: 128.9 MB / 414.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.3212, allocations: 4.874 MB / 419.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.3213, allocations: 4 kB / 419.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.3215, allocations: 59.59 kB / 419.7 MB, free: 2.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.323, allocations: 0.765 MB / 420.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3233, allocations: 174.5 kB / 420.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.3237, allocations: 401.9 kB / 421.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3238, allocations: 6.469 kB / 421.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.324, allocations: 211.4 kB / 421.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3242, allocations: 175.6 kB / 421.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3242, allocations: 12 kB / 421.5 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.325, allocations: 0.6238 MB / 422.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.3251, allocations: 35.81 kB / 422.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.3252, allocations: 60.56 kB / 422.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3257, allocations: 410.8 kB / 422.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.3257, allocations: 0 / 422.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3257, allocations: 3.938 kB / 422.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3257, allocations: 0 / 422.6 MB, free: 15.5 MB / 394.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.0008333/0.3265, allocations: 0.6573 MB / 423.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.3266, allocations: 8.031 kB / 423.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3267, allocations: 48.78 kB / 423.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3269, allocations: 165.5 kB / 423.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.327, allocations: 226.7 kB / 423.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.327, allocations: 28.31 kB / 423.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.3274, allocations: 430.1 kB / 424.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3274, allocations: 384 / 424.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.3274, allocations: 19.92 kB / 424.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.3274, allocations: 4 kB / 424.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.3277, allocations: 441.4 kB / 424.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.3284, allocations: 0.8576 MB / 425.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3286, allocations: 167.4 kB / 425.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.3287, allocations: 53.48 kB / 425.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.3294, allocations: 0.7156 MB / 426.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3295, allocations: 38.56 kB / 426.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3295, allocations: 0 / 426.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003813/0.3299, allocations: 223.1 kB / 426.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3299, allocations: 51.41 kB / 426.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.33, allocations: 235.2 kB / 426.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.33, allocations: 25.7 kB / 426.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.3301, allocations: 215.5 kB / 427.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3301, allocations: 51.62 kB / 427.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.3302, allocations: 86.06 kB / 427.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.3303, allocations: 334.8 kB / 427.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.3303, allocations: 31.81 kB / 427.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3305, allocations: 310.7 kB / 427.9 MB, free: 9.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3307, allocations: 439.1 kB / 428.4 MB, free: 9.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3307, allocations: 0 / 428.4 MB, free: 9.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000244/0.331, allocations: 305.1 kB / 428.7 MB, free: 8.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.331, allocations: 12.98 kB / 428.7 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.331, allocations: 12 kB / 428.7 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.331, allocations: 16 kB / 428.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3312, allocations: 118.7 kB / 428.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3312, allocations: 19.94 kB / 428.8 MB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3314, allocations: 55.56 kB / 428.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3314, allocations: 27.98 kB / 428.9 MB, free: 8.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * 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 7.805e-05/0.3315, allocations: 148.4 kB / 429.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3315, allocations: 15.98 kB / 429.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3317, allocations: 131.8 kB / 429.2 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3317, allocations: 0 / 429.2 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3317, allocations: 0 / 429.2 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3317, allocations: 0 / 429.2 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3319, allocations: 320.8 kB / 429.5 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3319, allocations: 0 / 429.5 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.332, allocations: 31.97 kB / 429.6 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.332, allocations: 27.88 kB / 429.6 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.332, allocations: 0 / 429.6 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.332, allocations: 7.984 kB / 429.6 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.332, allocations: 5.562 kB / 429.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.332, allocations: 0 / 429.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3321, allocations: 226.9 kB / 429.8 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3322, allocations: 7.953 kB / 429.8 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.3322, allocations: 13.17 kB / 429.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3323, allocations: 7.984 kB / 429.8 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3323, allocations: 4 kB / 429.9 MB, free: 7.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.3323, allocations: 70.78 kB / 429.9 MB, free: 7.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3323, allocations: 0 / 429.9 MB, free: 7.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.3326, allocations: 91.92 kB / 430 MB, free: 7.418 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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.0002154/0.3328, allocations: 148.2 kB / 430.2 MB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.333, allocations: 173.2 kB / 430.3 MB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.333, allocations: 4.5 kB / 430.3 MB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.333, allocations: 40.67 kB / 430.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3333, allocations: 122.3 kB / 430.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3365, allocations: 487.1 kB / 431 MB, free: 6.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.3366, allocations: 72.33 kB / 431 MB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3367, allocations: 61.02 kB / 431.1 MB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3368, allocations: 117.3 kB / 431.2 MB, free: 6.16 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3368, allocations: 0 / 431.2 MB, free: 6.16 MB / 394.7 MB Notification: Performance of Templates: time 0.004789/0.3416, allocations: 3.267 MB / 434.5 MB, free: 2.953 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_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.317560685798526]