Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001702/0.001702, allocations: 99.34 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2954/0.2954, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.167e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4026, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.5953, allocations: 86.48 MB / 0.5504 GB, free: 12.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5957, allocations: 67.97 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03357/0.6293, allocations: 8.084 MB / 0.5583 GB, free: 4.664 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6293, allocations: 4 kB / 0.5583 GB, free: 4.66 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.875e-05/0.6294, allocations: 4 kB / 0.5583 GB, free: 4.656 MB / 395.1 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.0008378/0.6302, allocations: 0.5524 MB / 0.5589 GB, free: 4.059 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6303, allocations: 8.031 kB / 0.5589 GB, free: 4.051 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.6304, allocations: 47.48 kB / 0.5589 GB, free: 4.004 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.6312, allocations: 335.3 kB / 0.5592 GB, free: 3.637 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6312, allocations: 0 / 0.5592 GB, free: 3.637 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.6312, allocations: 4 kB / 0.5592 GB, free: 3.633 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.6314, allocations: 16 kB / 0.5593 GB, free: 3.617 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.6315, allocations: 49.62 kB / 0.5593 GB, free: 3.562 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6315, allocations: 7.922 kB / 0.5593 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6316, allocations: 0 / 0.5593 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6316, allocations: 7.953 kB / 0.5593 GB, free: 3.547 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.6326, allocations: 433.2 kB / 0.5597 GB, free: 3.086 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.6328, allocations: 30.58 kB / 0.5598 GB, free: 3.047 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.6329, allocations: 16.86 kB / 0.5598 GB, free: 3.027 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.6329, allocations: 0 / 0.5598 GB, free: 3.027 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.6329, allocations: 34.55 kB / 0.5598 GB, free: 2.984 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.633, allocations: 0 / 0.5598 GB, free: 2.984 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009051/0.6339, allocations: 244.1 kB / 0.56 GB, free: 2.738 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6339, allocations: 51.41 kB / 0.5601 GB, free: 2.676 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.6359, allocations: 0.7551 MB / 0.5608 GB, free: 1.914 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.636, allocations: 25.7 kB / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.6362, allocations: 238.5 kB / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.6363, allocations: 15.72 kB / 0.5611 GB, free: 1.633 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.6363, allocations: 4 kB / 0.5611 GB, free: 1.629 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6365, allocations: 318.8 kB / 0.5614 GB, free: 1.309 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.6365, allocations: 23.92 kB / 0.5614 GB, free: 1.285 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.6366, allocations: 16 kB / 0.5614 GB, free: 1.27 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.6367, allocations: 24.22 kB / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6367, allocations: 0 / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002236/0.637, allocations: 85.56 kB / 0.5615 GB, free: 1.156 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.637, allocations: 4 kB / 0.5615 GB, free: 1.152 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.637, allocations: 0 / 0.5615 GB, free: 1.152 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.6371, allocations: 11.95 kB / 0.5616 GB, free: 1.141 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.6373, allocations: 23.92 kB / 0.5616 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6373, allocations: 0 / 0.5616 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.6375, allocations: 19.92 kB / 0.5616 GB, free: 1.098 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.6376, allocations: 0 / 0.5616 GB, free: 1.098 MB / 395.1 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 (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.0001055/0.6377, allocations: 108.9 kB / 0.5617 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6378, allocations: 47.44 kB / 0.5617 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.6383, allocations: 133.6 kB / 0.5619 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.6383, allocations: 7.953 kB / 0.5619 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6383, allocations: 0 / 0.5619 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6384, allocations: 0 / 0.5619 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6397, allocations: 0.5769 MB / 0.5624 GB, free: 172 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6398, allocations: 0 / 0.5624 GB, free: 172 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.64, allocations: 27.98 kB / 0.5625 GB, free: 144 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.64, allocations: 0 / 0.5625 GB, free: 144 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.64, allocations: 3.953 kB / 0.5625 GB, free: 140 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.64, allocations: 4 kB / 0.5625 GB, free: 136 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.64, allocations: 0 / 0.5625 GB, free: 136 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.6404, allocations: 219.1 kB / 0.5627 GB, free: 15.9 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.6408, allocations: 156.6 kB / 0.5628 GB, free: 15.73 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.6409, allocations: 0 / 0.5628 GB, free: 15.73 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6411, allocations: 27.77 kB / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.6412, allocations: 4 kB / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.6412, allocations: 0 / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.6423, allocations: 0.612 MB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6423, allocations: 0 / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.6428, allocations: 63.98 kB / 0.5635 GB, free: 15.03 MB / 411.1 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 (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.001074/0.6439, allocations: 336.8 kB / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.6442, allocations: 51.97 kB / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6442, allocations: 0 / 0.5639 GB, free: 14.68 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.6443, allocations: 31.92 kB / 0.5639 GB, free: 14.65 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.6448, allocations: 25.94 kB / 0.564 GB, free: 14.62 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.6467, allocations: 0.7748 MB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.6473, allocations: 0.8419 MB / 0.5655 GB, free: 12.95 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6475, allocations: 31.42 kB / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6475, allocations: 0 / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of Templates: time 0.01306/0.6605, allocations: 4.412 MB / 0.5699 GB, free: 8.496 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches