Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002281/0.002281, allocations: 182 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.133/2.133, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001113/0.001112, allocations: 82.72 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.3161/0.3161, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.748e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.6117, allocations: 87.13 MB / 0.5579 GB, free: 448 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.612, allocations: 71.38 kB / 0.558 GB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.6312, allocations: 4.313 MB / 0.5622 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6312, allocations: 4 kB / 0.5622 GB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.6313, 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.0005732/0.6318, allocations: 385.3 kB / 0.5625 GB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6319, allocations: 12.03 kB / 0.5626 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.632, allocations: 11.86 kB / 0.5626 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.6324, allocations: 208.5 kB / 0.5628 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6324, allocations: 0 / 0.5628 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.6325, allocations: 7.984 kB / 0.5628 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.6326, allocations: 48.12 kB / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6327, allocations: 0 / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6327, allocations: 7.484 kB / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6327, allocations: 3.938 kB / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.6328, allocations: 26.81 kB / 0.5629 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.6335, allocations: 319.2 kB / 0.5632 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.6336, allocations: 37.02 kB / 0.5632 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.6337, allocations: 15.61 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.6337, allocations: 2.5 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6338, allocations: 34.56 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.6338, allocations: 3.938 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007217/0.6345, allocations: 166.2 kB / 0.5634 GB, free: 11.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.6346, allocations: 51.41 kB / 0.5635 GB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.6348, allocations: 178.2 kB / 0.5636 GB, free: 11.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6349, allocations: 25.7 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.635, allocations: 170.9 kB / 0.5638 GB, free: 10.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.635, allocations: 18.91 kB / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.635, allocations: 0 / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6352, allocations: 310.8 kB / 0.5641 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.6353, allocations: 25.23 kB / 0.5641 GB, free: 10.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.6354, allocations: 22.19 kB / 0.5642 GB, free: 10.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.442e-05/0.6354, allocations: 22.84 kB / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6355, allocations: 0 / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002163/0.6357, allocations: 90.06 kB / 0.5643 GB, free: 10.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6357, allocations: 15.44 kB / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6357, allocations: 0 / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6358, allocations: 3.953 kB / 0.5643 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.636, allocations: 23.92 kB / 0.5643 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.636, allocations: 4 kB / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6362, allocations: 19.92 kB / 0.5643 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6362, allocations: 4 kB / 0.5643 GB, free: 10.44 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.033e-05/0.6363, allocations: 108.4 kB / 0.5644 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.6364, allocations: 7.906 kB / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.6367, allocations: 109.4 kB / 0.5646 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6367, allocations: 3.953 kB / 0.5646 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6367, allocations: 0 / 0.5646 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6368, allocations: 0 / 0.5646 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.6374, allocations: 387.8 kB / 0.5649 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.6374, allocations: 7.938 kB / 0.5649 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6376, allocations: 23.98 kB / 0.565 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.6376, allocations: 3.953 kB / 0.565 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6377, allocations: 0 / 0.565 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.6377, allocations: 3.984 kB / 0.565 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6377, allocations: 0 / 0.565 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.638, allocations: 191 kB / 0.5652 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.6381, allocations: 96.88 kB / 0.5652 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.6381, allocations: 3.953 kB / 0.5653 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6383, allocations: 15.98 kB / 0.5653 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.6383, allocations: 3.984 kB / 0.5653 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.6384, allocations: 4 kB / 0.5653 GB, free: 9.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.6385, allocations: 136.8 kB / 0.5654 GB, free: 9.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6386, allocations: 0 / 0.5654 GB, free: 9.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.6389, allocations: 31.5 kB / 0.5654 GB, free: 9.328 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.00112/0.6401, allocations: 368.5 kB / 0.5658 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.6403, allocations: 63.97 kB / 0.5658 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6403, allocations: 0 / 0.5658 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.6404, allocations: 22.75 kB / 0.5659 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.6408, allocations: 15.67 kB / 0.5659 GB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.6413, allocations: 213.7 kB / 0.5661 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6417, allocations: 0.7151 MB / 0.5668 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.6418, allocations: 15.44 kB / 0.5668 GB, free: 7.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6418, allocations: 0 / 0.5668 GB, free: 7.973 MB / 378.7 MB Notification: Performance of Templates: time 0.005222/0.6471, allocations: 1.762 MB / 0.5685 GB, free: 6.219 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches