Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009135/0.0009135, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.668/1.668, 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.0008162/0.0008165, allocations: 85.42 kB / 271.3 MB, free: 8.258 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.4257/0.4257, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4935, allocations: 87.23 MB / 0.5651 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4938, allocations: 67.97 kB / 0.5652 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.5125, allocations: 7.881 MB / 0.5729 GB, free: 6.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5125, allocations: 0 / 0.5729 GB, free: 6.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.5126, allocations: 7.828 kB / 0.5729 GB, free: 6.852 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.0009639/0.5135, allocations: 0.6329 MB / 0.5735 GB, free: 6.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5136, allocations: 11.69 kB / 0.5735 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5137, allocations: 44.38 kB / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.5143, allocations: 356 kB / 0.5739 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5143, allocations: 8.359 kB / 0.5739 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.5144, allocations: 4.375 kB / 0.5739 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.5146, allocations: 62.23 kB / 0.574 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5146, allocations: 4.188 kB / 0.574 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5146, allocations: 3.938 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5146, allocations: 4 kB / 0.574 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.5148, allocations: 43.95 kB / 0.574 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.5157, allocations: 468.5 kB / 0.5745 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5158, allocations: 46.56 kB / 0.5745 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.5159, allocations: 36.92 kB / 0.5746 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.5159, allocations: 7.938 kB / 0.5746 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.516, allocations: 30.56 kB / 0.5746 GB, free: 4.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.516, allocations: 0 / 0.5746 GB, free: 4.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009563/0.517, allocations: 344 kB / 0.5749 GB, free: 4.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.517, allocations: 51.41 kB / 0.575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.5184, allocations: 0.8457 MB / 0.5758 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5184, allocations: 29.64 kB / 0.5758 GB, free: 3.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5186, allocations: 216 kB / 0.576 GB, free: 3.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.5186, allocations: 23.64 kB / 0.5761 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5186, allocations: 4 kB / 0.5761 GB, free: 3.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.5188, allocations: 363 kB / 0.5764 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5189, allocations: 43.97 kB / 0.5765 GB, free: 3.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.5191, allocations: 51.95 kB / 0.5765 GB, free: 2.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.5193, allocations: 101.5 kB / 0.5766 GB, free: 2.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5193, allocations: 4 kB / 0.5766 GB, free: 2.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004782/0.5198, allocations: 169.2 kB / 0.5768 GB, free: 2.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5198, allocations: 8 kB / 0.5768 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5199, allocations: 3.984 kB / 0.5768 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5199, allocations: 0 / 0.5768 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.52, allocations: 27.92 kB / 0.5768 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.52, allocations: 320 / 0.5768 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.5201, allocations: 11.98 kB / 0.5768 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5202, allocations: 8 kB / 0.5768 GB, free: 2.617 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.0002217/0.5204, allocations: 217.7 kB / 0.577 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.5205, allocations: 43.44 kB / 0.5771 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.5209, allocations: 205.3 kB / 0.5773 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5209, allocations: 0.75 kB / 0.5773 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5209, allocations: 0 / 0.5773 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5209, allocations: 4 kB / 0.5773 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009676/0.5219, allocations: 0.6544 MB / 0.5779 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5219, allocations: 0 / 0.5779 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.522, allocations: 29.22 kB / 0.5779 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.522, allocations: 0 / 0.5779 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.522, allocations: 4 kB / 0.5779 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.5221, allocations: 3.938 kB / 0.578 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5221, allocations: 11.81 kB / 0.578 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.5225, allocations: 271 kB / 0.5782 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.5227, allocations: 164.5 kB / 0.5784 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.5227, allocations: 0 / 0.5784 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5228, allocations: 15.98 kB / 0.5784 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5229, allocations: 5.094 kB / 0.5784 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.5229, allocations: 8 kB / 0.5784 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007785/0.5237, allocations: 0.6393 MB / 0.579 GB, free: 264 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5237, allocations: 0 / 0.579 GB, free: 264 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.524, allocations: 63.94 kB / 0.5791 GB, free: 200 kB / 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.0009479/0.525, allocations: 413 kB / 0.5795 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.5253, allocations: 103.8 kB / 0.5796 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5253, allocations: 0 / 0.5796 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5255, allocations: 63.95 kB / 0.5796 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.5259, allocations: 21.97 kB / 0.5797 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.5273, allocations: 0.9467 MB / 0.5806 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.5278, allocations: 0.8224 MB / 0.5814 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.528, allocations: 57.19 kB / 0.5814 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.528, allocations: 19.44 kB / 0.5815 GB, free: 13.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.528, allocations: 0 / 0.5815 GB, free: 13.79 MB / 410.7 MB Notification: Performance of Templates: time 0.006725/0.5348, allocations: 2.528 MB / 0.5839 GB, free: 11.26 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches