Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002277/0.002277, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001058/0.001058, allocations: 82.77 kB / 267.5 MB, free: 14.04 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.2817/0.2817, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.338e-05, allocations: 11.98 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6139, allocations: 87.14 MB / 0.5579 GB, free: 488 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6143, allocations: 77.42 kB / 0.558 GB, free: 448 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.633, allocations: 4.353 MB / 0.5622 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6331, allocations: 0 / 0.5622 GB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.6331, allocations: 0 / 0.5622 GB, free: 12.71 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.0005045/0.6336, allocations: 397.3 kB / 0.5626 GB, free: 12.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6337, allocations: 8.031 kB / 0.5626 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.6337, allocations: 19.86 kB / 0.5626 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.6341, allocations: 196.4 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6341, allocations: 3.312 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.6341, allocations: 7.906 kB / 0.5628 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.6343, allocations: 52.81 kB / 0.5629 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6343, allocations: 0 / 0.5629 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6343, allocations: 0 / 0.5629 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.6344, allocations: 0 / 0.5629 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.6345, allocations: 26.84 kB / 0.5629 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.6351, allocations: 328.8 kB / 0.5632 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.6353, allocations: 41.33 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.6353, allocations: 12.36 kB / 0.5633 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.6354, allocations: 4 kB / 0.5633 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6354, allocations: 41.75 kB / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.6354, allocations: 0 / 0.5633 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007091/0.6361, allocations: 169.4 kB / 0.5635 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.6362, allocations: 51.41 kB / 0.5635 GB, free: 11.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.6365, allocations: 174.1 kB / 0.5637 GB, free: 11.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6365, allocations: 25.7 kB / 0.5637 GB, free: 11.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.6366, allocations: 173.2 kB / 0.5639 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.6366, allocations: 23.03 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.6367, allocations: 0 / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6368, allocations: 318.2 kB / 0.5642 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.6369, allocations: 22.06 kB / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.6369, allocations: 18.83 kB / 0.5642 GB, free: 10.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.637, allocations: 26.88 kB / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.637, allocations: 0 / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000217/0.6373, allocations: 86.55 kB / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6373, allocations: 8 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6373, allocations: 4 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6374, allocations: 7.891 kB / 0.5644 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.6376, allocations: 19.98 kB / 0.5644 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6376, allocations: 0 / 0.5644 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.6377, allocations: 15.98 kB / 0.5644 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6378, allocations: 4 kB / 0.5644 GB, free: 10.42 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 () * 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 8.53e-05/0.6379, allocations: 110 kB / 0.5645 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.6379, allocations: 7.906 kB / 0.5645 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.6382, allocations: 110.3 kB / 0.5646 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6383, allocations: 7.953 kB / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6383, allocations: 0 / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6383, allocations: 0 / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.6389, allocations: 387.6 kB / 0.565 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.639, allocations: 3.984 kB / 0.565 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.6392, allocations: 27.92 kB / 0.565 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.6392, allocations: 7.891 kB / 0.565 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6392, allocations: 0 / 0.565 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6392, allocations: 0 / 0.565 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6392, allocations: 0 / 0.565 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.6395, allocations: 195.9 kB / 0.5652 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.6396, allocations: 85.02 kB / 0.5653 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.6397, allocations: 11.25 kB / 0.5653 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.6398, allocations: 12 kB / 0.5653 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.6399, allocations: 7.984 kB / 0.5653 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.6399, allocations: 0 / 0.5653 GB, free: 9.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.6401, allocations: 148.8 kB / 0.5655 GB, free: 9.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6401, allocations: 0 / 0.5655 GB, free: 9.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.6405, allocations: 31.44 kB / 0.5655 GB, free: 9.301 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 () * 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.001068/0.6416, allocations: 369.8 kB / 0.5658 GB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.6418, allocations: 56.34 kB / 0.5659 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6418, allocations: 0 / 0.5659 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.6419, allocations: 31.31 kB / 0.5659 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6423, allocations: 25.11 kB / 0.566 GB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.6429, allocations: 212.1 kB / 0.5662 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6433, allocations: 0.7106 MB / 0.5669 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.6434, allocations: 19.41 kB / 0.5669 GB, free: 7.941 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6434, allocations: 0 / 0.5669 GB, free: 7.941 MB / 378.7 MB Notification: Performance of Templates: time 0.00523/0.6486, allocations: 1.78 MB / 0.5686 GB, free: 6.168 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches