Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 175.8 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007718/0.0007717, allocations: 82.42 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3942/0.3942, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 19.98 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.5017, allocations: 87.13 MB / 0.565 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.502, allocations: 71.95 kB / 0.5651 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.5148, allocations: 4.487 MB / 0.5695 GB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5148, allocations: 3.938 kB / 0.5695 GB, free: 10.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5148, allocations: 4 kB / 0.5695 GB, free: 10.34 MB / 394.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.0005648/0.5154, allocations: 399.1 kB / 0.5699 GB, free: 9.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5155, allocations: 9.062 kB / 0.5699 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.5155, allocations: 8.844 kB / 0.5699 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.5158, allocations: 188.8 kB / 0.5701 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5159, allocations: 4.375 kB / 0.5701 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5159, allocations: 8.375 kB / 0.5701 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.5161, allocations: 84.38 kB / 0.5702 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5161, allocations: 192 / 0.5702 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5162, allocations: 3.938 kB / 0.5702 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5162, allocations: 0 / 0.5702 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.5163, allocations: 43.97 kB / 0.5702 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.5168, allocations: 288.8 kB / 0.5705 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.517, allocations: 57.41 kB / 0.5705 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.5171, allocations: 28.94 kB / 0.5706 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.5171, allocations: 4 kB / 0.5706 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5172, allocations: 30.88 kB / 0.5706 GB, free: 9.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.5172, allocations: 0 / 0.5706 GB, free: 9.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008515/0.518, allocations: 245.3 kB / 0.5708 GB, free: 8.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.5181, allocations: 81.11 kB / 0.5709 GB, free: 8.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.5183, allocations: 137.6 kB / 0.571 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5183, allocations: 25.7 kB / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.5184, allocations: 104 kB / 0.5712 GB, free: 8.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.5184, allocations: 23.66 kB / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.5185, allocations: 0 / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5186, allocations: 326.7 kB / 0.5715 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.5187, allocations: 39.97 kB / 0.5715 GB, free: 8.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.5189, allocations: 57.69 kB / 0.5716 GB, free: 7.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.5191, allocations: 97 kB / 0.5717 GB, free: 7.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5191, allocations: 0 / 0.5717 GB, free: 7.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002905/0.5194, allocations: 129.6 kB / 0.5718 GB, free: 7.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5195, allocations: 4 kB / 0.5718 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5195, allocations: 0 / 0.5718 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5195, allocations: 0 / 0.5718 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.5196, allocations: 23.98 kB / 0.5718 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5196, allocations: 3.984 kB / 0.5718 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.5197, allocations: 16 kB / 0.5719 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.5198, allocations: 4 kB / 0.5719 GB, free: 7.688 MB / 394.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 0.000102/0.5199, allocations: 129.7 kB / 0.572 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.5199, allocations: 7.906 kB / 0.572 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.5203, allocations: 138.3 kB / 0.5721 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5203, allocations: 0 / 0.5721 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5203, allocations: 0 / 0.5721 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5203, allocations: 4 kB / 0.5721 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.5209, allocations: 407.4 kB / 0.5725 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5209, allocations: 3.984 kB / 0.5725 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.521, allocations: 27.98 kB / 0.5725 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.521, allocations: 0 / 0.5725 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.521, allocations: 0 / 0.5725 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.521, allocations: 4 kB / 0.5725 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.521, allocations: 3.938 kB / 0.5726 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.5214, allocations: 223.3 kB / 0.5728 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.5215, allocations: 93 kB / 0.5729 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.5215, allocations: 0 / 0.5729 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.5216, allocations: 15.98 kB / 0.5729 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.5216, allocations: 11.88 kB / 0.5729 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5217, allocations: 8 kB / 0.5729 GB, free: 6.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.5218, allocations: 111.2 kB / 0.573 GB, free: 6.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5218, allocations: 0 / 0.573 GB, free: 6.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.5221, allocations: 39.86 kB / 0.573 GB, free: 6.379 MB / 394.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.00109/0.5232, allocations: 455 kB / 0.5735 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.5235, allocations: 99.86 kB / 0.5736 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5235, allocations: 0 / 0.5736 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.5236, allocations: 51.97 kB / 0.5736 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.524, allocations: 15.92 kB / 0.5736 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.5245, allocations: 203.5 kB / 0.5738 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5248, allocations: 0.6926 MB / 0.5745 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.5249, allocations: 12 kB / 0.5745 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.525, allocations: 19.42 kB / 0.5745 GB, free: 4.891 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.525, allocations: 0 / 0.5745 GB, free: 4.891 MB / 394.7 MB Notification: Performance of Templates: time 0.004249/0.5292, allocations: 1.441 MB / 0.5759 GB, free: 3.453 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches