Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 89.3 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.351/0.351, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002956, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3287, allocations: 61.9 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.4329, allocations: 89.01 MB / 0.5965 GB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4331, allocations: 79.94 kB / 0.5966 GB, free: 6.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.4446, allocations: 4.686 MB / 0.6011 GB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4446, allocations: 0 / 0.6011 GB, free: 1.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4446, allocations: 4 kB / 0.6011 GB, free: 1.371 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004427/0.4451, allocations: 426.8 kB / 0.6015 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4451, allocations: 8.562 kB / 0.6016 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4452, allocations: 7.906 kB / 0.6016 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4454, allocations: 208.7 kB / 0.6018 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4454, allocations: 7.953 kB / 0.6018 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4455, allocations: 7.938 kB / 0.6018 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4457, allocations: 69.61 kB / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4457, allocations: 0 / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4457, allocations: 0 / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4457, allocations: 0 / 0.6018 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.4459, allocations: 55.95 kB / 0.6019 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.4463, allocations: 336.6 kB / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4466, allocations: 66.48 kB / 0.6023 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4466, allocations: 4 kB / 0.6023 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.4466, allocations: 30.56 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4466, allocations: 0 / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.4482, allocations: 497 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4482, allocations: 56.64 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4484, allocations: 179.3 kB / 0.603 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4484, allocations: 29.7 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4485, allocations: 108.1 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.4485, allocations: 35.45 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.4486, allocations: 4 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4487, allocations: 322.8 kB / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4488, allocations: 63.95 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.449, allocations: 67.94 kB / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4491, allocations: 67.97 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4491, allocations: 0 / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003288/0.4495, allocations: 185.4 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4495, allocations: 7.938 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4495, allocations: 0.5625 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4495, allocations: 0 / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4496, allocations: 27.98 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4497, allocations: 0 / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.4497, allocations: 23.94 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4498, allocations: 11.94 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.4499, allocations: 129.8 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4499, allocations: 15.84 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.4503, allocations: 198.2 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.4503, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4504, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4504, allocations: 7.984 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.4511, allocations: 0.5155 MB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4511, allocations: 0 / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4512, allocations: 40.03 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4512, allocations: 0 / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4513, allocations: 7.953 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4513, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4513, allocations: 96 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.4517, allocations: 320.3 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.4518, allocations: 96.91 kB / 0.6052 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4518, allocations: 4 kB / 0.6052 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.4519, allocations: 12 kB / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.4519, allocations: 11.98 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.452, allocations: 7.984 kB / 0.6052 GB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4521, allocations: 137 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4521, allocations: 4 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.4524, allocations: 39.92 kB / 0.6054 GB, free: 12.65 MB / 426.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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.4534, allocations: 464.7 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.4538, allocations: 139.9 kB / 0.606 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4538, allocations: 0 / 0.606 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.4539, allocations: 83.89 kB / 0.6061 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.4542, allocations: 19.94 kB / 0.6061 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4547, allocations: 318.9 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.455, allocations: 0.7238 MB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.691e-05/0.4551, allocations: 36.52 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4552, allocations: 15.44 kB / 0.6071 GB, free: 10.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4552, allocations: 192 / 0.6071 GB, free: 10.99 MB / 426.7 MB Notification: Performance of Templates: time 0.003625/0.4588, allocations: 1.582 MB / 0.6087 GB, free: 9.422 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches