Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009341, allocations: 88.06 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1689/0.1689, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.279e-05, allocations: 4 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4949, allocations: 88.88 MB / 0.5885 GB, free: 424 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4951, allocations: 63.97 kB / 0.5886 GB, free: 360 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5119, allocations: 7.939 MB / 0.5963 GB, free: 8.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5119, allocations: 0 / 0.5963 GB, free: 8.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.5119, allocations: 4 kB / 0.5963 GB, free: 8.406 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.0005346/0.5125, allocations: 0.5559 MB / 0.5969 GB, free: 7.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5125, allocations: 11.97 kB / 0.5969 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.5126, allocations: 43.44 kB / 0.5969 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.5131, allocations: 331.2 kB / 0.5972 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.5131, allocations: 3.938 kB / 0.5972 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.5131, allocations: 8 kB / 0.5972 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5132, allocations: 45.69 kB / 0.5973 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5133, allocations: 0 / 0.5973 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5133, allocations: 8 kB / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5133, allocations: 0 / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.356e-05/0.5133, allocations: 19.98 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.5139, allocations: 448.6 kB / 0.5977 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5141, allocations: 50.56 kB / 0.5978 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.5141, allocations: 8.859 kB / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.5141, allocations: 0 / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.5141, allocations: 34.56 kB / 0.5978 GB, free: 6.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.5141, allocations: 0 / 0.5978 GB, free: 6.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004178/0.5146, allocations: 192.1 kB / 0.598 GB, free: 6.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.5146, allocations: 59.36 kB / 0.5981 GB, free: 6.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.5157, allocations: 0.785 MB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5157, allocations: 25.7 kB / 0.5989 GB, free: 5.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.5159, allocations: 224.1 kB / 0.5991 GB, free: 5.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.5159, allocations: 15.73 kB / 0.5991 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5159, allocations: 4 kB / 0.5991 GB, free: 5.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.516, allocations: 358.8 kB / 0.5994 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.5161, allocations: 8 kB / 0.5994 GB, free: 4.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.5161, allocations: 19.92 kB / 0.5995 GB, free: 4.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.5162, allocations: 24.19 kB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5162, allocations: 0 / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.5164, allocations: 101.1 kB / 0.5996 GB, free: 4.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5164, allocations: 9.094 kB / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5164, allocations: 0 / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5164, allocations: 0 / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.5165, allocations: 15.98 kB / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5165, allocations: 0 / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5167, allocations: 11.94 kB / 0.5996 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.5167, allocations: 12 kB / 0.5996 GB, free: 4.801 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.722e-05/0.5168, allocations: 101 kB / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5169, allocations: 47.38 kB / 0.5998 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.5171, allocations: 129 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5171, allocations: 0 / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5171, allocations: 0 / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5172, allocations: 0 / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007183/0.5179, allocations: 0.5841 MB / 0.6005 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5179, allocations: 0 / 0.6005 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.518, allocations: 12 kB / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.518, allocations: 144 / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.518, allocations: 0 / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.518, allocations: 7.984 kB / 0.6005 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.518, allocations: 7.938 kB / 0.6005 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.5182, allocations: 207.2 kB / 0.6007 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.5184, allocations: 160.5 kB / 0.6008 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.5184, allocations: 0 / 0.6008 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.5185, allocations: 8 kB / 0.6008 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.5186, allocations: 11.88 kB / 0.6009 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.5186, allocations: 4 kB / 0.6009 GB, free: 3.422 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006294/0.5192, allocations: 0.6381 MB / 0.6015 GB, free: 2.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5192, allocations: 0 / 0.6015 GB, free: 2.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.5195, allocations: 55.94 kB / 0.6015 GB, free: 2.73 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007569/0.5203, allocations: 381.2 kB / 0.6019 GB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.5204, allocations: 35.98 kB / 0.6019 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5204, allocations: 0 / 0.6019 GB, free: 2.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.5204, allocations: 19.94 kB / 0.602 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5207, allocations: 30.02 kB / 0.602 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.5216, allocations: 0.7072 MB / 0.6027 GB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.522, allocations: 0.8379 MB / 0.6035 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.5221, allocations: 44.19 kB / 0.6035 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.5222, allocations: 27.44 kB / 0.6036 GB, free: 0.707 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5222, allocations: 0 / 0.6036 GB, free: 0.707 MB / 410.7 MB Notification: Performance of Templates: time 0.005671/0.5279, allocations: 2.446 MB / 0.606 GB, free: 14.25 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches