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.0009385/0.0009385, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009785/0.0009785, allocations: 172.3 kB / 25.61 MB, free: 8.883 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 0.9007/0.9007, allocations: 177.1 MB / 206 MB, free: 4.492 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.1321/0.1321, allocations: 32.8 MB / 295.4 MB, free: 15.49 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.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.132e-06/1.132e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.877e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2977/0.2977, allocations: 129.4 MB / 0.4948 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3013, allocations: 4.815 MB / 0.4995 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3014, allocations: 3.094 kB / 0.4995 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3017, allocations: 66.33 kB / 0.4996 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.3062, allocations: 0.7856 MB / 0.5004 GB, free: 17.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.3065, allocations: 166.4 kB / 0.5005 GB, free: 17.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.307, allocations: 397.8 kB / 0.5009 GB, free: 17.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.307, allocations: 11.81 kB / 0.5009 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3072, allocations: 215.6 kB / 0.5011 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3074, allocations: 176.5 kB / 0.5013 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3075, allocations: 9.719 kB / 0.5013 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.3114, allocations: 0.6208 MB / 0.5019 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.3115, allocations: 47.83 kB / 0.502 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.3116, allocations: 89.72 kB / 0.502 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.3121, allocations: 473.7 kB / 0.5025 GB, free: 17.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3121, allocations: 0 / 0.5025 GB, free: 17.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3121, allocations: 3.125 kB / 0.5025 GB, free: 17.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3121, allocations: 1.094 kB / 0.5025 GB, free: 17.25 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.0007364/0.3129, allocations: 0.6367 MB / 0.5031 GB, free: 16.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3129, allocations: 13.17 kB / 0.5031 GB, free: 16.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.3131, allocations: 56.25 kB / 0.5032 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3132, allocations: 165.2 kB / 0.5033 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.3133, allocations: 228.4 kB / 0.5036 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3133, allocations: 25.62 kB / 0.5036 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3136, allocations: 440.8 kB / 0.504 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3136, allocations: 384 / 0.504 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.3136, allocations: 21.41 kB / 0.504 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3137, allocations: 5.719 kB / 0.504 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.317, allocations: 457.2 kB / 0.5045 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.3178, allocations: 1.2 MB / 0.5056 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.318, allocations: 147.3 kB / 0.5058 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.3181, allocations: 65.55 kB / 0.5058 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/0.3189, allocations: 0.7888 MB / 0.5066 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.319, allocations: 36.3 kB / 0.5066 GB, free: 14.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.319, allocations: 4 kB / 0.5067 GB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000444/0.3194, allocations: 180.1 kB / 0.5068 GB, free: 14.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.3194, allocations: 56.03 kB / 0.5069 GB, free: 14.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3196, allocations: 285.6 kB / 0.5071 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3196, allocations: 30.92 kB / 0.5072 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3197, allocations: 266.1 kB / 0.5074 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003048/0.3227, allocations: 58.92 kB / 0.5075 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3228, allocations: 89.31 kB / 0.5076 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.3229, allocations: 0.5058 MB / 0.5081 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.323, allocations: 33.77 kB / 0.5081 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3232, allocations: 428.2 kB / 0.5085 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.3235, allocations: 0.5026 MB / 0.509 GB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3235, allocations: 4.656 kB / 0.509 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004034/0.3239, allocations: 353.2 kB / 0.5093 GB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3239, allocations: 10.62 kB / 0.5094 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.324, allocations: 11.88 kB / 0.5094 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.324, allocations: 14.16 kB / 0.5094 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/0.3276, allocations: 105.1 kB / 0.5095 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3276, allocations: 18.39 kB / 0.5095 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3278, allocations: 18 kB / 0.5095 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3278, allocations: 23.69 kB / 0.5095 GB, free: 12.43 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.66e-05/0.3279, allocations: 201.5 kB / 0.5097 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.328, allocations: 24.95 kB / 0.5097 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.3281, allocations: 145.3 kB / 0.5099 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3282, allocations: 0 / 0.5099 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3282, allocations: 0 / 0.5099 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3282, allocations: 3 kB / 0.5099 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3284, allocations: 398.8 kB / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3284, allocations: 0 / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.3285, allocations: 32.86 kB / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3285, allocations: 2.938 kB / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3285, allocations: 7.312 kB / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3285, allocations: 0 / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3285, allocations: 2.406 kB / 0.5103 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3287, allocations: 271.3 kB / 0.5106 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3287, allocations: 23.81 kB / 0.5106 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3287, allocations: 10.66 kB / 0.5106 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3289, allocations: 8.469 kB / 0.5106 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.3289, allocations: 16.64 kB / 0.5106 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3289, allocations: 5.562 kB / 0.5106 GB, free: 11.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.722e-05/0.329, allocations: 181.6 kB / 0.5108 GB, free: 11.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.329, allocations: 2.906 kB / 0.5108 GB, free: 11.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.3294, allocations: 96.75 kB / 0.5109 GB, free: 11.52 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.0001906/0.3296, allocations: 163.1 kB / 0.5111 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3298, allocations: 166.4 kB / 0.5112 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3298, allocations: 0 / 0.5112 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.3298, allocations: 39.47 kB / 0.5113 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3301, allocations: 58.3 kB / 0.5113 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.3309, allocations: 0.5014 MB / 0.5118 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.331, allocations: 76.44 kB / 0.5119 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3311, allocations: 57.92 kB / 0.5119 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3313, allocations: 150.5 kB / 0.5121 GB, free: 10.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3313, allocations: 0 / 0.5121 GB, free: 10.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01157/0.3429, allocations: 3.591 MB / 0.5156 GB, free: 10.53 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.6408473467454314]