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.002788/0.002824, allocations: 179.4 kB / 8.364 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.964/1.964, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00109/0.00109, allocations: 88.83 kB / 262.1 MB, free: 13.88 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.2989/0.2989, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.676e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4408, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.6003, allocations: 86.33 MB / 0.5502 GB, free: 12.98 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.6007, allocations: 71.97 kB / 0.5503 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.618, allocations: 4.17 MB / 0.5544 GB, free: 8.73 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.618, allocations: 0 / 0.5544 GB, free: 8.73 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.6181, allocations: 0 / 0.5544 GB, free: 8.73 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.0005123/0.6186, allocations: 381.2 kB / 0.5547 GB, free: 8.316 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6186, allocations: 8.031 kB / 0.5547 GB, free: 8.309 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.6187, allocations: 7.953 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.619, allocations: 194.9 kB / 0.5549 GB, free: 8.07 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.619, allocations: 8 kB / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.6191, allocations: 0 / 0.5549 GB, free: 8.062 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.398e-05/0.6192, allocations: 12 kB / 0.5549 GB, free: 8.051 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.6193, allocations: 63.34 kB / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6193, allocations: 0 / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6194, allocations: 0 / 0.555 GB, free: 7.977 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6194, allocations: 4 kB / 0.555 GB, free: 7.973 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.6198, allocations: 265.3 kB / 0.5553 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.6199, allocations: 42.45 kB / 0.5553 GB, free: 7.625 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.6199, allocations: 8.953 kB / 0.5553 GB, free: 7.613 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.62, allocations: 7.984 kB / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.62, allocations: 30.56 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 4.749e-06/0.62, allocations: 8 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006001/0.6207, allocations: 129.3 kB / 0.5555 GB, free: 7.426 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.6207, allocations: 77.11 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.6209, allocations: 129.2 kB / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.6209, allocations: 25.7 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.621, allocations: 154.6 kB / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.6211, allocations: 28.25 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.6211, allocations: 0 / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6212, allocations: 318.8 kB / 0.5562 GB, free: 6.664 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.6213, allocations: 8.25 kB / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.6214, allocations: 33.77 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.6214, allocations: 19.94 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6214, allocations: 0 / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001611/0.6216, allocations: 65.59 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6216, allocations: 4.031 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.6217, allocations: 4 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6217, allocations: 0 / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.6219, allocations: 35.88 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6219, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.6221, allocations: 19.92 kB / 0.5564 GB, free: 6.465 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.6221, allocations: 0 / 0.5564 GB, free: 6.465 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 8.384e-05/0.6222, allocations: 105 kB / 0.5565 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.6222, allocations: 7.906 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.6225, allocations: 82.28 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6225, allocations: 0 / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.6225, allocations: 8.031 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6225, allocations: 3.984 kB / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.623, allocations: 327.1 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.623, allocations: 8 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.6232, allocations: 19.98 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6232, allocations: 0 / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.6232, allocations: 0 / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.6233, allocations: 7.953 kB / 0.5569 GB, free: 5.852 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6233, allocations: 0 / 0.5569 GB, free: 5.852 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.6235, allocations: 167.4 kB / 0.5571 GB, free: 5.672 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.6236, allocations: 93 kB / 0.5571 GB, free: 5.562 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.6236, allocations: 4 kB / 0.5571 GB, free: 5.559 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.6238, allocations: 15.98 kB / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.6239, allocations: 11.89 kB / 0.5572 GB, free: 5.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.6239, allocations: 0 / 0.5572 GB, free: 5.531 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.624, allocations: 111.1 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.624, allocations: 0 / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.6244, allocations: 35.92 kB / 0.5573 GB, free: 5.391 MB / 395.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.001115/0.6255, allocations: 391.2 kB / 0.5577 GB, free: 5.055 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.6257, allocations: 36 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6257, allocations: 0 / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.6258, allocations: 20 kB / 0.5577 GB, free: 5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.6261, allocations: 23.84 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.6266, allocations: 146 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6269, allocations: 0.7001 MB / 0.5586 GB, free: 4.078 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.627, allocations: 19.44 kB / 0.5586 GB, free: 4.059 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.627, allocations: 0 / 0.5586 GB, free: 4.059 MB / 395.1 MB Notification: Performance of Templates: time 0.005182/0.6322, allocations: 1.75 MB / 0.5603 GB, free: 2.309 MB / 395.1 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