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.0009829/0.0009829, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009314/0.0009314, allocations: 161.9 kB / 24.99 MB, free: 8.336 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2591/0.2591, allocations: 32.81 MB / 294.6 MB, free: 1.289 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 1.843e-06/1.843e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.009e-05, allocations: 14.25 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3517/0.3517, allocations: 131.6 MB / 0.4958 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.3557, allocations: 4.826 MB / 0.5005 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3558, allocations: 0 / 0.5005 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.3562, allocations: 62.31 kB / 0.5006 GB, free: 25.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.358, allocations: 0.7658 MB / 0.5013 GB, free: 25.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3583, allocations: 152 kB / 0.5014 GB, free: 25.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.3588, allocations: 397.3 kB / 0.5018 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.3588, allocations: 8.266 kB / 0.5018 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.3591, allocations: 207.4 kB / 0.502 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3593, allocations: 172.5 kB / 0.5022 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3594, allocations: 12.44 kB / 0.5022 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3605, allocations: 0.6128 MB / 0.5028 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.3606, allocations: 49.77 kB / 0.5029 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3607, allocations: 81.23 kB / 0.5029 GB, free: 24.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.3615, allocations: 482.3 kB / 0.5034 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3615, allocations: 1.156 kB / 0.5034 GB, free: 24.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3615, allocations: 0 / 0.5034 GB, free: 24.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3615, allocations: 0 / 0.5034 GB, free: 24.7 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.0009587/0.3624, allocations: 0.6337 MB / 0.504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3625, allocations: 9.625 kB / 0.504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.3627, allocations: 53.73 kB / 0.5041 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.3629, allocations: 173.8 kB / 0.5042 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.363, allocations: 227.8 kB / 0.5045 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.363, allocations: 26.06 kB / 0.5045 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.3634, allocations: 459.1 kB / 0.5049 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3634, allocations: 384 / 0.5049 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.3634, allocations: 16.41 kB / 0.5049 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.3635, allocations: 6 kB / 0.5049 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.364, allocations: 0.5215 MB / 0.5054 GB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.3649, allocations: 1.228 MB / 0.5066 GB, free: 22.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.3652, allocations: 152.9 kB / 0.5068 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.3653, allocations: 66.97 kB / 0.5069 GB, free: 22.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009556/0.3663, allocations: 0.7879 MB / 0.5076 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3663, allocations: 35.73 kB / 0.5077 GB, free: 21.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3663, allocations: 0 / 0.5077 GB, free: 21.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005235/0.3668, allocations: 206 kB / 0.5079 GB, free: 21.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3668, allocations: 55.06 kB / 0.5079 GB, free: 21.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.367, allocations: 294.4 kB / 0.5082 GB, free: 21.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.367, allocations: 35.08 kB / 0.5082 GB, free: 21.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.3671, allocations: 263.6 kB / 0.5085 GB, free: 20.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3672, allocations: 64.89 kB / 0.5085 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3673, allocations: 92.19 kB / 0.5086 GB, free: 20.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.3674, allocations: 0.502 MB / 0.5091 GB, free: 20.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.3674, allocations: 39.84 kB / 0.5092 GB, free: 20.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3677, allocations: 431.7 kB / 0.5096 GB, free: 19.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.368, allocations: 0.5066 MB / 0.5101 GB, free: 19.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.368, allocations: 2.375 kB / 0.5101 GB, free: 19.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004795/0.3685, allocations: 372.7 kB / 0.5104 GB, free: 19.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3685, allocations: 6.938 kB / 0.5104 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3685, allocations: 11.25 kB / 0.5104 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3685, allocations: 11.89 kB / 0.5104 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.3688, allocations: 110.7 kB / 0.5105 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.3689, allocations: 26.27 kB / 0.5106 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.369, allocations: 20.02 kB / 0.5106 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.3691, allocations: 22.62 kB / 0.5106 GB, free: 19 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 8.675e-05/0.3692, allocations: 192.9 kB / 0.5108 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3692, allocations: 24.31 kB / 0.5108 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3695, allocations: 149.1 kB / 0.511 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3695, allocations: 2.844 kB / 0.511 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3695, allocations: 0 / 0.511 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3695, allocations: 2.859 kB / 0.511 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3699, allocations: 436.9 kB / 0.5114 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3699, allocations: 0 / 0.5114 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.37, allocations: 27.59 kB / 0.5114 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.37, allocations: 3.141 kB / 0.5114 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.37, allocations: 8.547 kB / 0.5114 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.37, allocations: 3.109 kB / 0.5114 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.37, allocations: 3.938 kB / 0.5114 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3702, allocations: 279.6 kB / 0.5117 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3702, allocations: 21.05 kB / 0.5117 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3702, allocations: 7.938 kB / 0.5117 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3704, allocations: 7.266 kB / 0.5117 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.3704, allocations: 15.8 kB / 0.5117 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3704, allocations: 8.062 kB / 0.5118 GB, free: 18.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.3705, allocations: 189.5 kB / 0.5119 GB, free: 17.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 0.5119 GB, free: 17.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.371, allocations: 98.47 kB / 0.512 GB, free: 17.91 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.0002522/0.3712, allocations: 158.2 kB / 0.5122 GB, free: 17.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3715, allocations: 175.6 kB / 0.5123 GB, free: 17.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3715, allocations: 7.375 kB / 0.5124 GB, free: 17.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.3715, allocations: 37.41 kB / 0.5124 GB, free: 17.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3719, allocations: 58 kB / 0.5124 GB, free: 17.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.373, allocations: 0.4957 MB / 0.5129 GB, free: 17.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.3731, allocations: 71.16 kB / 0.513 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3732, allocations: 58.34 kB / 0.5131 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3733, allocations: 32.39 kB / 0.5131 GB, free: 17.28 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3733, allocations: 0 / 0.5131 GB, free: 17.28 MB / 410.7 MB Notification: Performance of Templates: time 0.005845/0.3791, allocations: 3.181 MB / 0.5162 GB, free: 16.87 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.6824315211270005]