Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test6,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_cpp_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001494, allocations: 182.2 kB / 16.4 MB, free: 5.723 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.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001146/0.001146, allocations: 97.23 kB / 270.9 MB, free: 8.371 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.5601/0.5601, allocations: 43.55 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.000452, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5854, allocations: 86.81 MB / 0.5635 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5858, allocations: 75.97 kB / 0.5636 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02861/0.6144, allocations: 7.751 MB / 0.5711 GB, free: 8.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6145, allocations: 0 / 0.5711 GB, free: 8.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.6145, allocations: 4 kB / 0.5711 GB, free: 8.125 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.0009672/0.6155, allocations: 0.6434 MB / 0.5718 GB, free: 7.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6156, allocations: 16.02 kB / 0.5718 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.6157, allocations: 43.38 kB / 0.5718 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.6163, allocations: 327.4 kB / 0.5721 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.6163, allocations: 3.938 kB / 0.5721 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.6164, allocations: 4 kB / 0.5721 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.6166, allocations: 62.7 kB / 0.5722 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6166, allocations: 0 / 0.5722 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6167, allocations: 4 kB / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6167, allocations: 0 / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.6169, allocations: 52.94 kB / 0.5723 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.6177, allocations: 436.7 kB / 0.5727 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.6179, allocations: 46.5 kB / 0.5727 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.618, allocations: 4 kB / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.618, allocations: 34.66 kB / 0.5727 GB, free: 6.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.618, allocations: 0 / 0.5727 GB, free: 6.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001363/0.6194, allocations: 323.8 kB / 0.5731 GB, free: 5.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.6194, allocations: 51.41 kB / 0.5731 GB, free: 5.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.6214, allocations: 0.7823 MB / 0.5739 GB, free: 5.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6214, allocations: 29.7 kB / 0.5739 GB, free: 5.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.6216, allocations: 235 kB / 0.5741 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.6217, allocations: 30.64 kB / 0.5742 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.6217, allocations: 0 / 0.5742 GB, free: 4.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6218, allocations: 314.8 kB / 0.5745 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.6221, allocations: 39.97 kB / 0.5745 GB, free: 4.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.6223, allocations: 40.52 kB / 0.5745 GB, free: 4.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.6225, allocations: 44.27 kB / 0.5746 GB, free: 4.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6226, allocations: 3.938 kB / 0.5746 GB, free: 4.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004999/0.6231, allocations: 118.3 kB / 0.5747 GB, free: 4.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6231, allocations: 7.953 kB / 0.5747 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6231, allocations: 11.94 kB / 0.5747 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6231, allocations: 0 / 0.5747 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6234, allocations: 19.98 kB / 0.5747 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6234, allocations: 3.984 kB / 0.5747 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.6236, allocations: 16 kB / 0.5747 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.6236, allocations: 4 kB / 0.5747 GB, free: 4.219 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.0003094/0.6239, allocations: 217.8 kB / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.624, allocations: 39.44 kB / 0.575 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.6247, allocations: 193.6 kB / 0.5752 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6247, allocations: 0 / 0.5752 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.6247, allocations: 3.984 kB / 0.5752 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6247, allocations: 0 / 0.5752 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.6261, allocations: 0.6311 MB / 0.5758 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.6261, allocations: 0 / 0.5758 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.6263, allocations: 27.94 kB / 0.5758 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6263, allocations: 0 / 0.5758 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6264, allocations: 4 kB / 0.5758 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6264, allocations: 4 kB / 0.5758 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6264, allocations: 0 / 0.5758 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.627, allocations: 262.9 kB / 0.5761 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.6273, allocations: 160.5 kB / 0.5762 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.6274, allocations: 7.953 kB / 0.5762 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.6276, allocations: 20.8 kB / 0.5763 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.6277, allocations: 5.125 kB / 0.5763 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6277, allocations: 0 / 0.5763 GB, free: 2.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.6289, allocations: 0.6472 MB / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6289, allocations: 0 / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.6294, allocations: 63.94 kB / 0.577 GB, free: 1.848 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.001189/0.6306, allocations: 415.2 kB / 0.5774 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.6311, allocations: 87.95 kB / 0.5774 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6311, allocations: 0 / 0.5774 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.6314, allocations: 55.91 kB / 0.5775 GB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.6317, allocations: 21.95 kB / 0.5775 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.6338, allocations: 0.9603 MB / 0.5785 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.6344, allocations: 0.8301 MB / 0.5793 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.6345, allocations: 23.42 kB / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6345, allocations: 0 / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01232/0.6469, allocations: 4.342 MB / 0.5835 GB, free: 11.15 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches