Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009831, allocations: 177 kB / 17.06 MB, free: 5.094 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.34/1.34, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008505/0.0008508, allocations: 91.36 kB / 292.1 MB, free: 10.93 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.3253/0.3253, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3182, allocations: 61.89 MB / 0.5095 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4315, allocations: 89.19 MB / 0.5966 GB, free: 5.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4318, allocations: 83.92 kB / 0.5967 GB, free: 5.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4432, allocations: 4.72 MB / 0.6013 GB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4432, allocations: 0 / 0.6013 GB, free: 1.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4432, allocations: 4 kB / 0.6013 GB, free: 1.152 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004329/0.4437, allocations: 399 kB / 0.6017 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4437, allocations: 8.562 kB / 0.6017 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.4438, allocations: 11.91 kB / 0.6017 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.444, allocations: 190.9 kB / 0.6019 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.444, allocations: 7.953 kB / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.444, allocations: 0 / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4442, allocations: 95.25 kB / 0.602 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4443, allocations: 3.906 kB / 0.602 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4443, allocations: 0 / 0.602 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.4443, allocations: 7.984 kB / 0.602 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.4444, allocations: 39.97 kB / 0.6021 GB, free: 312 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.4449, allocations: 308.8 kB / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.445, allocations: 58.48 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4451, allocations: 80 / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4451, allocations: 34.56 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.4451, allocations: 0 / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007951/0.4459, allocations: 261.2 kB / 0.6027 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.446, allocations: 85.11 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4461, allocations: 130.7 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4461, allocations: 25.7 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.4462, allocations: 100 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.4462, allocations: 19.66 kB / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.4462, allocations: 0 / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4463, allocations: 326.8 kB / 0.6034 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4465, allocations: 47.97 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4466, allocations: 57.77 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4467, allocations: 64.06 kB / 0.6035 GB, free: 14.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4467, allocations: 0 / 0.6035 GB, free: 14.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002843/0.447, allocations: 137.5 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4471, allocations: 5.562 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4471, allocations: 0 / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4471, allocations: 0 / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4472, allocations: 23.98 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4472, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.4473, allocations: 23.98 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.4473, allocations: 0 / 0.6037 GB, free: 14.5 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 (7): * Single equations (assignments): 7 * 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 9.17e-05/0.4474, allocations: 129.7 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.4474, allocations: 7.906 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.4478, allocations: 150.3 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.4478, allocations: 3.938 kB / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4478, allocations: 0 / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4478, allocations: 0 / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.4484, allocations: 434.4 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4484, allocations: 4 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.4485, allocations: 31.98 kB / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4485, allocations: 0 / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4485, allocations: 0 / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4485, allocations: 0 / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4485, allocations: 3.938 kB / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.4488, allocations: 243.3 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.4489, allocations: 89 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.4489, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.449, allocations: 12 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.4491, allocations: 7.984 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4491, allocations: 4 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.4492, allocations: 111.2 kB / 0.6049 GB, free: 13.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4492, allocations: 0 / 0.6049 GB, free: 13.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.4494, allocations: 35.94 kB / 0.6049 GB, free: 13.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.000953/0.4504, allocations: 459.6 kB / 0.6054 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.4507, allocations: 107.9 kB / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4507, allocations: 3.938 kB / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4508, allocations: 51.97 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.451, allocations: 19.98 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.4515, allocations: 209.3 kB / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4517, allocations: 0.7082 MB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.023e-05/0.4518, allocations: 20.97 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.4519, allocations: 19.42 kB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4519, allocations: 0 / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003875/0.4557, allocations: 1.473 MB / 0.6079 GB, free: 10.22 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches