Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 160.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9861/0.9861, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1529/0.1529, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.497e-05, allocations: 3.859 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.337/0.337, allocations: 129.4 MB / 0.4975 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.3409, allocations: 4.813 MB / 0.5022 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.341, allocations: 0 / 0.5022 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.3414, allocations: 59.36 kB / 0.5023 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.343, allocations: 0.7941 MB / 0.5031 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3434, allocations: 163 kB / 0.5032 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.3439, allocations: 403.3 kB / 0.5036 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.344, allocations: 11.56 kB / 0.5036 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.3443, allocations: 211.8 kB / 0.5038 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3445, allocations: 178.7 kB / 0.504 GB, free: 16.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3445, allocations: 9.156 kB / 0.504 GB, free: 16.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.3455, allocations: 0.621 MB / 0.5046 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.3456, allocations: 53 kB / 0.5046 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.3457, allocations: 82.03 kB / 0.5047 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.3463, allocations: 476.8 kB / 0.5052 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3463, allocations: 4 kB / 0.5052 GB, free: 16.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3464, allocations: 1.125 kB / 0.5052 GB, free: 16.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3464, allocations: 0 / 0.5052 GB, free: 16.57 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.0008369/0.3472, allocations: 0.6372 MB / 0.5058 GB, free: 16.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3472, allocations: 12.03 kB / 0.5058 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3474, allocations: 51.27 kB / 0.5059 GB, free: 16.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3476, allocations: 172.4 kB / 0.506 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.3477, allocations: 225.1 kB / 0.5062 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3477, allocations: 28.62 kB / 0.5063 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.348, allocations: 434.3 kB / 0.5067 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.348, allocations: 3.469 kB / 0.5067 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.348, allocations: 14.75 kB / 0.5067 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.3481, allocations: 6.125 kB / 0.5067 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.3486, allocations: 464 kB / 0.5071 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.3495, allocations: 1.202 MB / 0.5083 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3497, allocations: 150.3 kB / 0.5085 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.3498, allocations: 59.27 kB / 0.5085 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008914/0.3507, allocations: 0.7831 MB / 0.5093 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3507, allocations: 35.67 kB / 0.5093 GB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3507, allocations: 0 / 0.5093 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003999/0.3511, allocations: 182.1 kB / 0.5095 GB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.3511, allocations: 57.22 kB / 0.5095 GB, free: 13.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3512, allocations: 292.1 kB / 0.5098 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3513, allocations: 25.7 kB / 0.5099 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3513, allocations: 277.2 kB / 0.5101 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3514, allocations: 54.39 kB / 0.5102 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.3514, allocations: 91.81 kB / 0.5103 GB, free: 13.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.3515, allocations: 0.5066 MB / 0.5108 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.3515, allocations: 29.75 kB / 0.5108 GB, free: 12.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3517, allocations: 422.9 kB / 0.5112 GB, free: 12.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3519, allocations: 0.5072 MB / 0.5117 GB, free: 11.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3519, allocations: 2.969 kB / 0.5117 GB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003885/0.3523, allocations: 353.2 kB / 0.512 GB, free: 11.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3523, allocations: 13.41 kB / 0.512 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3524, allocations: 9.375 kB / 0.512 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3524, allocations: 15.28 kB / 0.5121 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.3526, allocations: 112.3 kB / 0.5122 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3526, allocations: 15.69 kB / 0.5122 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3528, allocations: 18.59 kB / 0.5122 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3528, allocations: 27.55 kB / 0.5122 GB, free: 11.75 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.619e-05/0.3529, allocations: 191.1 kB / 0.5124 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.3529, allocations: 25.5 kB / 0.5124 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.3531, allocations: 148.4 kB / 0.5126 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3531, allocations: 2.719 kB / 0.5126 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3531, allocations: 3 kB / 0.5126 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3531, allocations: 1.203 kB / 0.5126 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3534, allocations: 399.8 kB / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3534, allocations: 0 / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.3535, allocations: 29.55 kB / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3535, allocations: 2.438 kB / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3535, allocations: 7.562 kB / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3536, allocations: 0 / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3536, allocations: 0 / 0.513 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3537, allocations: 269.7 kB / 0.5133 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3537, allocations: 26.66 kB / 0.5133 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3538, allocations: 11.06 kB / 0.5133 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3539, allocations: 7.094 kB / 0.5133 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.3539, allocations: 12.47 kB / 0.5133 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3539, allocations: 10.5 kB / 0.5133 GB, free: 10.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.354, allocations: 184 kB / 0.5135 GB, free: 10.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.354, allocations: 4 kB / 0.5135 GB, free: 10.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004415/0.3544, allocations: 99.78 kB / 0.5136 GB, free: 10.84 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.0001862/0.3546, allocations: 155.8 kB / 0.5137 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3548, allocations: 163.3 kB / 0.5139 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3548, allocations: 4.125 kB / 0.5139 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.3548, allocations: 37.52 kB / 0.5139 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3552, allocations: 62.45 kB / 0.514 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.356, allocations: 0.4959 MB / 0.5145 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.3561, allocations: 75.73 kB / 0.5145 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3562, allocations: 55.05 kB / 0.5146 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3564, allocations: 154.5 kB / 0.5147 GB, free: 10.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3564, allocations: 0 / 0.5147 GB, free: 10.29 MB / 410.7 MB Notification: Performance of Templates: time 0.005745/0.3621, allocations: 3.598 MB / 0.5183 GB, free: 9.852 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.878549108747393]