Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001299/0.001299, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001151/0.001151, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3005/0.3005, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.585e-05, allocations: 5.547 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3418/0.3419, allocations: 129.4 MB / 0.4961 GB, free: 28.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.346, allocations: 4.815 MB / 0.5008 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.3462, allocations: 1.188 kB / 0.5008 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.3466, allocations: 69.62 kB / 0.5008 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.3484, allocations: 0.7892 MB / 0.5016 GB, free: 24.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.3488, allocations: 161.7 kB / 0.5017 GB, free: 24.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.3493, allocations: 402.1 kB / 0.5021 GB, free: 24.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.3493, allocations: 8.625 kB / 0.5021 GB, free: 24.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.3496, allocations: 211.1 kB / 0.5023 GB, free: 24.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.3499, allocations: 176.1 kB / 0.5025 GB, free: 24.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.3499, allocations: 8.312 kB / 0.5025 GB, free: 24.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.351, allocations: 0.6264 MB / 0.5031 GB, free: 23.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3511, allocations: 53.05 kB / 0.5032 GB, free: 23.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.3512, allocations: 77.83 kB / 0.5033 GB, free: 23.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000811/0.352, allocations: 482.6 kB / 0.5037 GB, free: 23.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.352, allocations: 0.6562 kB / 0.5037 GB, free: 23.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.352, allocations: 1.312 kB / 0.5037 GB, free: 23.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.352, allocations: 3.938 kB / 0.5037 GB, free: 23.64 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.0009279/0.3529, allocations: 0.6371 MB / 0.5043 GB, free: 23.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.353, allocations: 9.25 kB / 0.5044 GB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.3531, allocations: 53.52 kB / 0.5044 GB, free: 23.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3533, allocations: 165.9 kB / 0.5046 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/0.3534, allocations: 228.2 kB / 0.5048 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.3535, allocations: 25.84 kB / 0.5048 GB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3538, allocations: 440.7 kB / 0.5052 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3538, allocations: 384 / 0.5052 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3538, allocations: 19.5 kB / 0.5052 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.3539, allocations: 6.406 kB / 0.5052 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.3544, allocations: 463.3 kB / 0.5057 GB, free: 22.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.3552, allocations: 1.198 MB / 0.5069 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.3554, allocations: 140 kB / 0.507 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.3555, allocations: 72.67 kB / 0.5071 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/0.3564, allocations: 0.797 MB / 0.5078 GB, free: 20.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3564, allocations: 43.55 kB / 0.5079 GB, free: 20.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3564, allocations: 1.25 kB / 0.5079 GB, free: 20.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004215/0.3569, allocations: 172.6 kB / 0.508 GB, free: 20.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.3569, allocations: 55.28 kB / 0.5081 GB, free: 20.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.357, allocations: 295.6 kB / 0.5084 GB, free: 20.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3571, allocations: 26.95 kB / 0.5084 GB, free: 20.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3572, allocations: 269.4 kB / 0.5087 GB, free: 19.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3572, allocations: 55.48 kB / 0.5087 GB, free: 19.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.3573, allocations: 97.69 kB / 0.5088 GB, free: 19.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.3574, allocations: 0.501 MB / 0.5093 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.3574, allocations: 31.89 kB / 0.5093 GB, free: 19.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3576, allocations: 427.7 kB / 0.5097 GB, free: 18.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3579, allocations: 0.5004 MB / 0.5102 GB, free: 18.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3579, allocations: 2.75 kB / 0.5102 GB, free: 18.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004352/0.3584, allocations: 360.1 kB / 0.5106 GB, free: 18.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3584, allocations: 14.69 kB / 0.5106 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3584, allocations: 9.625 kB / 0.5106 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.3584, allocations: 14.55 kB / 0.5106 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3587, allocations: 106.5 kB / 0.5107 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.3587, allocations: 23.02 kB / 0.5107 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3588, allocations: 19 kB / 0.5108 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.3588, allocations: 24.61 kB / 0.5108 GB, free: 18.02 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 7.362e-05/0.3589, allocations: 192.6 kB / 0.511 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3589, allocations: 25.66 kB / 0.511 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.3591, allocations: 148.1 kB / 0.5111 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3592, allocations: 6.844 kB / 0.5111 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3592, allocations: 0.6094 kB / 0.5111 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3592, allocations: 0.7031 kB / 0.5111 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.3595, allocations: 396.2 kB / 0.5115 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3595, allocations: 2.031 kB / 0.5115 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.3596, allocations: 26.45 kB / 0.5115 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3596, allocations: 1.797 kB / 0.5115 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3596, allocations: 5.828 kB / 0.5115 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3596, allocations: 2.312 kB / 0.5115 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3596, allocations: 8 kB / 0.5116 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3597, allocations: 270 kB / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3598, allocations: 29.84 kB / 0.5118 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3598, allocations: 1.656 kB / 0.5118 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3599, allocations: 12.45 kB / 0.5119 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3599, allocations: 11.75 kB / 0.5119 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3599, allocations: 8 kB / 0.5119 GB, free: 17.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.36, allocations: 181.9 kB / 0.512 GB, free: 16.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.36, allocations: 0 / 0.512 GB, free: 16.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.3605, allocations: 98.12 kB / 0.5121 GB, free: 16.97 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.0002453/0.3607, allocations: 159.4 kB / 0.5123 GB, free: 16.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3609, allocations: 172.8 kB / 0.5125 GB, free: 16.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3609, allocations: 0 / 0.5125 GB, free: 16.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.361, allocations: 35.77 kB / 0.5125 GB, free: 16.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3613, allocations: 52.95 kB / 0.5125 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.3623, allocations: 0.5044 MB / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.3623, allocations: 73.97 kB / 0.5131 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3624, allocations: 58.53 kB / 0.5132 GB, free: 16.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3626, allocations: 151.5 kB / 0.5133 GB, free: 16.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3626, allocations: 0 / 0.5133 GB, free: 16.28 MB / 410.7 MB Notification: Performance of Templates: time 0.006509/0.3691, allocations: 3.554 MB / 0.5168 GB, free: 15.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9028716920875013]