Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, 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.008/2.008, 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.00108/0.00108, allocations: 78.67 kB / 267.5 MB, free: 14.05 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.2802/0.2802, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.859e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.5983, allocations: 87 MB / 0.5578 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5987, allocations: 70 kB / 0.5578 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.6175, allocations: 4.294 MB / 0.562 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6176, allocations: 0 / 0.562 GB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.6176, allocations: 11.55 kB / 0.562 GB, free: 13.16 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.0005279/0.6181, allocations: 378.2 kB / 0.5624 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6182, allocations: 8.031 kB / 0.5624 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.6183, allocations: 11.95 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6186, allocations: 195.8 kB / 0.5626 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6186, allocations: 0 / 0.5626 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6186, allocations: 4 kB / 0.5626 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6188, allocations: 66.81 kB / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6188, allocations: 0 / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.6189, allocations: 3.562 kB / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6189, allocations: 0 / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.619, allocations: 15.94 kB / 0.5627 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.6195, allocations: 299.7 kB / 0.563 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.6196, allocations: 42.19 kB / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.6197, allocations: 12.67 kB / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.6197, allocations: 0 / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6198, allocations: 34.56 kB / 0.563 GB, free: 12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.6198, allocations: 0 / 0.563 GB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006669/0.6204, allocations: 141.3 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.6205, allocations: 77.11 kB / 0.5633 GB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.6207, allocations: 137.6 kB / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.6208, allocations: 25.7 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.6209, allocations: 160.6 kB / 0.5636 GB, free: 11.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.6209, allocations: 15.16 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.6209, allocations: 4 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6211, allocations: 318 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.6212, allocations: 15 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.6212, allocations: 27.72 kB / 0.5639 GB, free: 11.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.6213, allocations: 25.89 kB / 0.564 GB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6213, allocations: 0 / 0.564 GB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001899/0.6215, allocations: 74.47 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6216, allocations: 4 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6216, allocations: 3.953 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6216, allocations: 0 / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.6219, allocations: 31.95 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.6219, allocations: 320 / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.622, allocations: 15.92 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.622, allocations: 7.125 kB / 0.5641 GB, free: 10.96 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.914e-05/0.6221, allocations: 104.9 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.6222, allocations: 11.89 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.6225, allocations: 90.92 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6225, allocations: 11.94 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6225, allocations: 144 / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6225, allocations: 3.984 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.6231, allocations: 350.4 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6231, allocations: 0 / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.6233, allocations: 30.8 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.6233, allocations: 3.953 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6234, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.6234, allocations: 3.984 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6234, allocations: 0 / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.6236, allocations: 177.4 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.6237, allocations: 87.64 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.6238, allocations: 7.938 kB / 0.5649 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.6239, allocations: 15.06 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.624, allocations: 7.984 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.624, allocations: 8 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.6242, allocations: 105.8 kB / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6242, allocations: 0 / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.6245, allocations: 35.44 kB / 0.5651 GB, free: 9.906 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.001217/0.6258, allocations: 395.2 kB / 0.5655 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.626, allocations: 53.97 kB / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.626, allocations: 0 / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.6261, allocations: 24.03 kB / 0.5655 GB, free: 9.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.6264, allocations: 22.5 kB / 0.5656 GB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.6269, allocations: 150 kB / 0.5657 GB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.6273, allocations: 0.7037 MB / 0.5664 GB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.6274, allocations: 19.38 kB / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6274, allocations: 0 / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of Templates: time 0.005395/0.6328, allocations: 1.767 MB / 0.5681 GB, free: 6.828 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches