Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.2 kB / 15.76 MB, free: 6.367 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.759/1.759, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009366/0.0009367, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2257/0.2257, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.5316, allocations: 86.84 MB / 0.5636 GB, free: 12.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5319, allocations: 74.33 kB / 0.5636 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.5429, allocations: 4.196 MB / 0.5677 GB, free: 9.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.543, allocations: 4 kB / 0.5677 GB, free: 9.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.543, allocations: 0 / 0.5677 GB, free: 9.309 MB / 378.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.0004869/0.5435, allocations: 412.8 kB / 0.5681 GB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5435, allocations: 20.02 kB / 0.5681 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.5436, allocations: 11.86 kB / 0.5682 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.5438, allocations: 197.2 kB / 0.5683 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5438, allocations: 0 / 0.5683 GB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5439, allocations: 4 kB / 0.5683 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.544, allocations: 64.3 kB / 0.5684 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5441, allocations: 0 / 0.5684 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5441, allocations: 3.812 kB / 0.5684 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5441, allocations: 4 kB / 0.5684 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5442, allocations: 42.45 kB / 0.5685 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.5446, allocations: 296.1 kB / 0.5687 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.5448, allocations: 57.73 kB / 0.5688 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5448, allocations: 0 / 0.5688 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5448, allocations: 30.56 kB / 0.5688 GB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5448, allocations: 0 / 0.5688 GB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007854/0.5456, allocations: 258.8 kB / 0.5691 GB, free: 7.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5457, allocations: 55.41 kB / 0.5691 GB, free: 7.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.5459, allocations: 166.8 kB / 0.5693 GB, free: 7.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5459, allocations: 25.7 kB / 0.5693 GB, free: 7.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.546, allocations: 107.1 kB / 0.5694 GB, free: 7.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.546, allocations: 23.41 kB / 0.5694 GB, free: 7.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.546, allocations: 0 / 0.5694 GB, free: 7.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5462, allocations: 325.8 kB / 0.5697 GB, free: 7.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5463, allocations: 38.53 kB / 0.5698 GB, free: 7.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.5464, allocations: 42.84 kB / 0.5698 GB, free: 7.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.5465, allocations: 42.03 kB / 0.5699 GB, free: 7.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5465, allocations: 0 / 0.5699 GB, free: 7.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002831/0.5468, allocations: 131 kB / 0.57 GB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5469, allocations: 6.656 kB / 0.57 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5469, allocations: 7.922 kB / 0.57 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5469, allocations: 3.953 kB / 0.57 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.547, allocations: 27.98 kB / 0.57 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.547, allocations: 0 / 0.57 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.5471, allocations: 15.55 kB / 0.57 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5471, allocations: 4 kB / 0.57 GB, free: 6.883 MB / 378.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.0001008/0.5472, allocations: 121.2 kB / 0.5702 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.5473, allocations: 15.81 kB / 0.5702 GB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.5476, allocations: 143.3 kB / 0.5703 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5476, allocations: 4 kB / 0.5703 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5476, allocations: 3.953 kB / 0.5703 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5476, allocations: 3.984 kB / 0.5703 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.5482, allocations: 415.7 kB / 0.5707 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5482, allocations: 0 / 0.5707 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.5483, allocations: 27.36 kB / 0.5707 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5483, allocations: 4 kB / 0.5708 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5484, allocations: 7.953 kB / 0.5708 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5484, allocations: 0 / 0.5708 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5484, allocations: 4 kB / 0.5708 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5487, allocations: 224.2 kB / 0.571 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.5488, allocations: 91.94 kB / 0.5711 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.5489, allocations: 0 / 0.5711 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.549, allocations: 19.94 kB / 0.5711 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.549, allocations: 0 / 0.5711 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.549, allocations: 6.812 kB / 0.5711 GB, free: 5.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.5491, allocations: 137 kB / 0.5712 GB, free: 5.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5492, allocations: 11.94 kB / 0.5712 GB, free: 5.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.5494, allocations: 31.83 kB / 0.5713 GB, free: 5.633 MB / 378.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.0009211/0.5503, allocations: 408.3 kB / 0.5717 GB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.5506, allocations: 94.23 kB / 0.5717 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5506, allocations: 0 / 0.5717 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.5508, allocations: 51.03 kB / 0.5718 GB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.551, allocations: 21.42 kB / 0.5718 GB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.5514, allocations: 232 kB / 0.572 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5517, allocations: 0.7043 MB / 0.5727 GB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.5518, allocations: 11.98 kB / 0.5727 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.5518, allocations: 18.44 kB / 0.5728 GB, free: 4.148 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5518, allocations: 0 / 0.5728 GB, free: 4.148 MB / 378.7 MB Notification: Performance of Templates: time 0.003367/0.5552, allocations: 1.243 MB / 0.574 GB, free: 2.918 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches