Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 181.5 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.027/2.027, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001138/0.001138, allocations: 86.64 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.2816/0.2816, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.158e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6022, allocations: 87 MB / 0.5578 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6025, allocations: 74 kB / 0.5578 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.6197, allocations: 4.291 MB / 0.562 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6198, allocations: 0 / 0.562 GB, free: 13.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.6198, allocations: 7.609 kB / 0.562 GB, free: 13.11 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.0005063/0.6204, allocations: 380.7 kB / 0.5624 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6204, allocations: 8.031 kB / 0.5624 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.6205, allocations: 7.953 kB / 0.5624 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.6208, allocations: 193.8 kB / 0.5626 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.6208, allocations: 0 / 0.5626 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.6208, allocations: 4 kB / 0.5626 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.621, allocations: 70.36 kB / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.621, allocations: 0 / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.6211, allocations: 0 / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6211, allocations: 0 / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.6212, allocations: 19.81 kB / 0.5627 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.6216, allocations: 300.6 kB / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6217, allocations: 37.08 kB / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.6218, allocations: 12.11 kB / 0.563 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.6218, allocations: 4 kB / 0.563 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6219, allocations: 37.75 kB / 0.5631 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.6219, allocations: 0 / 0.5631 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006258/0.6225, allocations: 142.5 kB / 0.5632 GB, free: 11.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6226, allocations: 81.05 kB / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.6228, allocations: 130.9 kB / 0.5634 GB, free: 11.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.6228, allocations: 25.7 kB / 0.5634 GB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.6229, allocations: 160.4 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.6229, allocations: 23.09 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.623, allocations: 0 / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6231, allocations: 318.3 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.6231, allocations: 15.5 kB / 0.5639 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.6232, allocations: 28.41 kB / 0.5639 GB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.6233, allocations: 19.19 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6233, allocations: 0 / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001803/0.6235, allocations: 71.34 kB / 0.564 GB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6235, allocations: 7.938 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6236, allocations: 7.891 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6236, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6238, allocations: 32 kB / 0.5641 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6238, allocations: 0 / 0.5641 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.624, allocations: 19.06 kB / 0.5641 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.624, allocations: 3.984 kB / 0.5641 GB, free: 10.9 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.041e-05/0.6241, allocations: 108.1 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.6241, allocations: 7.906 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.6244, allocations: 94.28 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6244, allocations: 3.953 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.6244, allocations: 144 / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6244, allocations: 3.984 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.6249, allocations: 349.7 kB / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.625, allocations: 0 / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6252, allocations: 27.97 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.6252, allocations: 7.953 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6252, allocations: 6.812 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6252, allocations: 4 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6252, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.6255, allocations: 168.6 kB / 0.5648 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.6255, allocations: 91.94 kB / 0.5649 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.6256, allocations: 3.953 kB / 0.5649 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.6258, allocations: 22.73 kB / 0.565 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.6258, allocations: 0 / 0.565 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.6258, allocations: 4 kB / 0.565 GB, free: 9.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.626, allocations: 106.7 kB / 0.5651 GB, free: 9.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.626, allocations: 0 / 0.5651 GB, free: 9.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.6263, allocations: 39.11 kB / 0.5651 GB, free: 9.859 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.001152/0.6275, allocations: 408.8 kB / 0.5655 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.6277, allocations: 40.56 kB / 0.5655 GB, free: 9.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6277, allocations: 0 / 0.5655 GB, free: 9.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.6278, allocations: 26 kB / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.6281, allocations: 21.86 kB / 0.5656 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.6285, allocations: 147 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.6288, allocations: 0.6965 MB / 0.5664 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.6289, allocations: 19.38 kB / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6289, allocations: 0 / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of Templates: time 0.005014/0.6339, allocations: 1.763 MB / 0.5681 GB, free: 6.793 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches