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.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.0009787/0.0009787, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001028/0.001028, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9766/0.9766, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.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.2959/0.2959, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.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.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.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 2.174e-06/2.174e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.595e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3567/0.3568, allocations: 131.9 MB / 0.4961 GB, free: 28.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.3618, allocations: 4.853 MB / 0.5008 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.362, allocations: 1.25 kB / 0.5008 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3625, allocations: 60.86 kB / 0.5009 GB, free: 25.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.3649, allocations: 0.7855 MB / 0.5016 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3654, allocations: 169.5 kB / 0.5018 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.3661, allocations: 401.5 kB / 0.5022 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.3661, allocations: 8.5 kB / 0.5022 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.3666, allocations: 211.2 kB / 0.5024 GB, free: 24.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.3669, allocations: 175.5 kB / 0.5025 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.367, allocations: 8.625 kB / 0.5026 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.3685, allocations: 0.6269 MB / 0.5032 GB, free: 24.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3686, allocations: 50.27 kB / 0.5032 GB, free: 24.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3688, allocations: 81.66 kB / 0.5033 GB, free: 24.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.37, allocations: 480.2 kB / 0.5038 GB, free: 24.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.37, allocations: 1.25 kB / 0.5038 GB, free: 24.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.37, allocations: 0 / 0.5038 GB, free: 24.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.37, allocations: 0 / 0.5038 GB, free: 24.41 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.001175/0.3712, allocations: 0.633 MB / 0.5044 GB, free: 23.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3712, allocations: 14.03 kB / 0.5044 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.3745, allocations: 53.72 kB / 0.5044 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3748, allocations: 166.5 kB / 0.5046 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3749, allocations: 228 kB / 0.5048 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.3749, allocations: 30.34 kB / 0.5048 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.3754, allocations: 457.8 kB / 0.5053 GB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3754, allocations: 384 / 0.5053 GB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.3754, allocations: 16.06 kB / 0.5053 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.3754, allocations: 7.578 kB / 0.5053 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.3761, allocations: 0.5248 MB / 0.5058 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3771, allocations: 1.218 MB / 0.507 GB, free: 21.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.3805, allocations: 157.9 kB / 0.5072 GB, free: 21.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3806, allocations: 66.16 kB / 0.5072 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.3818, allocations: 0.792 MB / 0.508 GB, free: 21.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3818, allocations: 36.14 kB / 0.508 GB, free: 21.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.235e-06/0.3818, allocations: 0 / 0.508 GB, free: 21.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006024/0.3825, allocations: 202.9 kB / 0.5082 GB, free: 21.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3825, allocations: 54.69 kB / 0.5083 GB, free: 21.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3826, allocations: 289 kB / 0.5085 GB, free: 20.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3826, allocations: 36.72 kB / 0.5086 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.3827, allocations: 259.6 kB / 0.5088 GB, free: 20.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3828, allocations: 58.72 kB / 0.5089 GB, free: 20.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.3828, allocations: 97.69 kB / 0.509 GB, free: 20.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.3829, allocations: 0.5073 MB / 0.5095 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.383, allocations: 37.86 kB / 0.5095 GB, free: 20.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.3831, allocations: 428.3 kB / 0.5099 GB, free: 19.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.3865, allocations: 0.5088 MB / 0.5104 GB, free: 18.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3865, allocations: 2.688 kB / 0.5104 GB, free: 18.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005135/0.387, allocations: 376.6 kB / 0.5108 GB, free: 18.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.387, allocations: 7.812 kB / 0.5108 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3871, allocations: 9.5 kB / 0.5108 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.3871, allocations: 12.78 kB / 0.5108 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.3874, allocations: 107.3 kB / 0.5109 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.3874, allocations: 20.44 kB / 0.5109 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3876, allocations: 17.91 kB / 0.5109 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3876, allocations: 32.03 kB / 0.511 GB, free: 18.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 9.584e-05/0.3877, allocations: 196.6 kB / 0.5112 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.3878, allocations: 30.47 kB / 0.5112 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.388, allocations: 139.4 kB / 0.5113 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.388, allocations: 6.938 kB / 0.5113 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3881, allocations: 0.7969 kB / 0.5113 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3881, allocations: 0.5156 kB / 0.5113 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.3885, allocations: 432.8 kB / 0.5117 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3885, allocations: 0 / 0.5117 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3886, allocations: 32.55 kB / 0.5118 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3886, allocations: 3.984 kB / 0.5118 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3886, allocations: 3.328 kB / 0.5118 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3886, allocations: 4.812 kB / 0.5118 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3886, allocations: 3.938 kB / 0.5118 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3888, allocations: 279 kB / 0.5121 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.3889, allocations: 25.7 kB / 0.5121 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.3889, allocations: 6.969 kB / 0.5121 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.389, allocations: 10 kB / 0.5121 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3891, allocations: 15.12 kB / 0.5121 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3891, allocations: 12.61 kB / 0.5121 GB, free: 17.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003119/0.3922, allocations: 185.2 kB / 0.5123 GB, free: 17.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3922, allocations: 0 / 0.5123 GB, free: 17.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.3927, allocations: 98.53 kB / 0.5124 GB, free: 17.62 MB / 410.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.0002703/0.393, allocations: 152.5 kB / 0.5125 GB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.3933, allocations: 175.9 kB / 0.5127 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3933, allocations: 0 / 0.5127 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.3934, allocations: 40.86 kB / 0.5127 GB, free: 17.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3938, allocations: 60.14 kB / 0.5128 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3949, allocations: 0.5015 MB / 0.5133 GB, free: 17.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.395, allocations: 71.95 kB / 0.5134 GB, free: 17.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003202/0.3982, allocations: 55.97 kB / 0.5134 GB, free: 17.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.3982, allocations: 27.92 kB / 0.5134 GB, free: 17 MB / 410.7 MB Notification: Performance of SimCode: time 1.542e-06/0.3982, allocations: 0 / 0.5134 GB, free: 17 MB / 410.7 MB Notification: Performance of Templates: time 0.01284/0.4111, allocations: 3.14 MB / 0.5165 GB, free: 16.61 MB / 410.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 -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,rangeDelta=0.001) [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] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9779857541434467]