Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 178 kB / 17.41 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008089/0.000809, allocations: 86.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3606/0.3606, allocations: 43.56 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.5024, allocations: 87.12 MB / 0.565 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5026, allocations: 79.95 kB / 0.5651 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.5132, allocations: 4.485 MB / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5133, allocations: 0 / 0.5695 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.5133, allocations: 4.688 kB / 0.5695 GB, free: 10.6 MB / 394.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.0004573/0.5138, allocations: 398.7 kB / 0.5699 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5138, allocations: 8.031 kB / 0.5699 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.5139, allocations: 8.844 kB / 0.5699 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.5141, allocations: 199.2 kB / 0.5701 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5141, allocations: 384 / 0.5701 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5141, allocations: 4.375 kB / 0.5701 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5143, allocations: 83.88 kB / 0.5701 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5143, allocations: 3.375 kB / 0.5701 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5144, allocations: 7.938 kB / 0.5702 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5144, allocations: 0 / 0.5702 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.5146, allocations: 43.97 kB / 0.5702 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.5149, allocations: 288.8 kB / 0.5705 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.5151, allocations: 50.5 kB / 0.5705 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.5152, allocations: 32.94 kB / 0.5705 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.5152, allocations: 0 / 0.5705 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5152, allocations: 30.88 kB / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.5152, allocations: 0 / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007751/0.516, allocations: 245.3 kB / 0.5708 GB, free: 9.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.5161, allocations: 81.11 kB / 0.5709 GB, free: 8.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.5162, allocations: 134.1 kB / 0.571 GB, free: 8.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5162, allocations: 25.7 kB / 0.571 GB, free: 8.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.5163, allocations: 100 kB / 0.5711 GB, free: 8.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.5163, allocations: 23.66 kB / 0.5712 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5163, allocations: 4 kB / 0.5712 GB, free: 8.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5164, allocations: 322.8 kB / 0.5715 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5166, allocations: 43.91 kB / 0.5715 GB, free: 8.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5167, allocations: 57.69 kB / 0.5716 GB, free: 8.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.5169, allocations: 92.84 kB / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5169, allocations: 0 / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.5172, allocations: 130.2 kB / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5172, allocations: 4 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5172, allocations: 4 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5172, allocations: 0 / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5174, allocations: 19.98 kB / 0.5718 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5174, allocations: 3.984 kB / 0.5718 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.5174, allocations: 16 kB / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.5175, allocations: 0.625 kB / 0.5718 GB, free: 7.957 MB / 394.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 () * Number of clocked 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 0.0001063/0.5176, allocations: 133.7 kB / 0.572 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.5176, allocations: 11.91 kB / 0.572 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.5179, allocations: 134.6 kB / 0.5721 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.518, allocations: 4 kB / 0.5721 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.518, allocations: 1.625 kB / 0.5721 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.518, allocations: 0 / 0.5721 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.5185, allocations: 418.4 kB / 0.5725 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5185, allocations: 0 / 0.5725 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.5186, allocations: 23.98 kB / 0.5725 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5186, allocations: 0 / 0.5725 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5186, allocations: 8 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5186, allocations: 0 / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5186, allocations: 4.688 kB / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.519, allocations: 227.3 kB / 0.5728 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.519, allocations: 93 kB / 0.5728 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.5191, allocations: 0 / 0.5728 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.5191, allocations: 15.98 kB / 0.5729 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.5192, allocations: 7.938 kB / 0.5729 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.5192, allocations: 4 kB / 0.5729 GB, free: 6.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.5193, allocations: 115.2 kB / 0.573 GB, free: 6.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5193, allocations: 3.938 kB / 0.573 GB, free: 6.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.5196, allocations: 39.88 kB / 0.573 GB, free: 6.633 MB / 394.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 () * Number of clocked 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.000926/0.5205, allocations: 439.7 kB / 0.5734 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.5208, allocations: 99.92 kB / 0.5735 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5208, allocations: 0 / 0.5735 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5209, allocations: 51.91 kB / 0.5736 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.5212, allocations: 15.98 kB / 0.5736 GB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.5216, allocations: 225.2 kB / 0.5738 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5219, allocations: 0.6965 MB / 0.5745 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.522, allocations: 15.44 kB / 0.5745 GB, free: 5.148 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.522, allocations: 0 / 0.5745 GB, free: 5.148 MB / 394.7 MB Notification: Performance of Templates: time 0.003395/0.5254, allocations: 1.756 MB / 0.5762 GB, free: 3.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches