Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 181.3 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.099/2.099, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001134/0.001134, allocations: 90.66 kB / 267.5 MB, free: 14.11 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.2857/0.2857, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.363e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6036, allocations: 87.38 MB / 0.5581 GB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.6039, allocations: 72.22 kB / 0.5582 GB, free: 176 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.6223, allocations: 4.417 MB / 0.5625 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6224, allocations: 4 kB / 0.5625 GB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6224, allocations: 0 / 0.5625 GB, free: 12.66 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.000513/0.6229, allocations: 383.5 kB / 0.5629 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.623, allocations: 8.031 kB / 0.5629 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.623, allocations: 11.86 kB / 0.5629 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.6233, allocations: 192.7 kB / 0.5631 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6234, allocations: 0 / 0.5631 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.6234, allocations: 8 kB / 0.5631 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6236, allocations: 65.11 kB / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6236, allocations: 4 kB / 0.5632 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.6237, allocations: 0 / 0.5632 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6237, allocations: 3.719 kB / 0.5632 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.6238, allocations: 22.56 kB / 0.5632 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.6244, allocations: 318.3 kB / 0.5635 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.6245, allocations: 42.94 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.6246, allocations: 15.73 kB / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.6246, allocations: 0 / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6247, allocations: 37.44 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.407e-06/0.6247, allocations: 7.984 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007201/0.6254, allocations: 167.5 kB / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.6255, allocations: 77.11 kB / 0.5638 GB, free: 11.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.6257, allocations: 127.6 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.6258, allocations: 29.7 kB / 0.564 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.6259, allocations: 164.1 kB / 0.5641 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.6259, allocations: 27.2 kB / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.6259, allocations: 0 / 0.5642 GB, free: 10.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6261, allocations: 314.8 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.6261, allocations: 19 kB / 0.5645 GB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.6262, allocations: 36.77 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.6263, allocations: 22.86 kB / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6263, allocations: 0 / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002307/0.6266, allocations: 84.27 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6266, allocations: 15.95 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6266, allocations: 0 / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6267, allocations: 3.953 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.6269, allocations: 27.67 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6269, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6271, allocations: 15.98 kB / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6271, allocations: 4 kB / 0.5647 GB, free: 10.37 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 9.344e-05/0.6272, allocations: 112.4 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.6273, allocations: 7.906 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.6276, allocations: 99.78 kB / 0.5649 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6276, allocations: 7.953 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6276, allocations: 0 / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6276, allocations: 0 / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.6282, allocations: 377.7 kB / 0.5652 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6282, allocations: 4 kB / 0.5653 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.6285, allocations: 23.98 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.6285, allocations: 11.89 kB / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6285, allocations: 0 / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6285, allocations: 0 / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6285, allocations: 0 / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.6288, allocations: 186.5 kB / 0.5655 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.6289, allocations: 88.14 kB / 0.5655 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.6289, allocations: 7.938 kB / 0.5656 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6291, allocations: 11.94 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.6292, allocations: 7.984 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6292, allocations: 6.688 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.6293, allocations: 108.2 kB / 0.5657 GB, free: 9.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6293, allocations: 0 / 0.5657 GB, free: 9.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.6297, allocations: 26.5 kB / 0.5657 GB, free: 9.305 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.001208/0.631, allocations: 419.8 kB / 0.5661 GB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.6312, allocations: 55.03 kB / 0.5662 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6313, allocations: 0 / 0.5662 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.6314, allocations: 46.53 kB / 0.5662 GB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.6317, allocations: 14.05 kB / 0.5662 GB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.6322, allocations: 164.9 kB / 0.5664 GB, free: 8.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.6325, allocations: 0.7004 MB / 0.5671 GB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.6326, allocations: 19.05 kB / 0.5671 GB, free: 7.949 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6327, allocations: 0 / 0.5671 GB, free: 7.949 MB / 378.7 MB Notification: Performance of Templates: time 0.005596/0.6383, allocations: 1.861 MB / 0.5689 GB, free: 6.094 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches