Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 180.2 kB / 13.65 MB, free: 1.66 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.083/2.083, 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.001072/0.001072, allocations: 90.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.282/0.282, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.133e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5931, allocations: 87.62 MB / 0.5584 GB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5934, allocations: 76.95 kB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02487/0.6183, allocations: 5.558 MB / 0.5639 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6184, allocations: 0 / 0.5639 GB, free: 11.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.6184, allocations: 7.609 kB / 0.5639 GB, free: 11.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005735/0.619, allocations: 409.8 kB / 0.5643 GB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.619, allocations: 12.03 kB / 0.5643 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.6191, allocations: 11.81 kB / 0.5643 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.6195, allocations: 222.6 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6196, allocations: 3.938 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.6196, allocations: 4 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.6197, allocations: 53.55 kB / 0.5646 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6198, allocations: 3.906 kB / 0.5646 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6198, allocations: 0 / 0.5646 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6198, allocations: 4 kB / 0.5646 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.6199, allocations: 23.73 kB / 0.5646 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.6204, allocations: 299.5 kB / 0.5649 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6206, allocations: 54.12 kB / 0.5649 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.6207, allocations: 20.66 kB / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.6207, allocations: 0 / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.6209, allocations: 74.91 kB / 0.565 GB, free: 10 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.819e-06/0.6209, allocations: 3.984 kB / 0.565 GB, free: 9.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006393/0.6215, allocations: 163.9 kB / 0.5652 GB, free: 9.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.6216, allocations: 51.41 kB / 0.5652 GB, free: 9.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.6219, allocations: 202.3 kB / 0.5654 GB, free: 9.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.622, allocations: 28.95 kB / 0.5654 GB, free: 9.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.6221, allocations: 166.9 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.6221, allocations: 27.02 kB / 0.5656 GB, free: 9.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.6221, allocations: 0 / 0.5656 GB, free: 9.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6223, allocations: 318.1 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.6223, allocations: 18.06 kB / 0.566 GB, free: 9.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/0.6224, allocations: 37.89 kB / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.6225, allocations: 25.56 kB / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6225, allocations: 0 / 0.566 GB, free: 9.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.6228, allocations: 91.22 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6228, allocations: 8 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6228, allocations: 4.031 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.6229, allocations: 0 / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.623, allocations: 15.98 kB / 0.5661 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.6231, allocations: 11.89 kB / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.761e-05/0.6232, allocations: 2.875 kB / 0.5661 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.6232, allocations: 4.188 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.403e-05/0.6233, allocations: 111.3 kB / 0.5663 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.6234, allocations: 19.75 kB / 0.5663 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.6237, allocations: 119.6 kB / 0.5664 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6237, allocations: 4 kB / 0.5664 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6237, allocations: 0 / 0.5664 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6238, allocations: 3.953 kB / 0.5664 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.6244, allocations: 421.3 kB / 0.5668 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6244, allocations: 0 / 0.5668 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.6245, allocations: 8 kB / 0.5668 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.6245, allocations: 0 / 0.5668 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.6246, allocations: 7.984 kB / 0.5668 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6246, allocations: 7.984 kB / 0.5668 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6246, allocations: 0 / 0.5668 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6249, allocations: 216.8 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.625, allocations: 104.2 kB / 0.5671 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.625, allocations: 7.953 kB / 0.5671 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.6252, allocations: 7.25 kB / 0.5671 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.6252, allocations: 7.984 kB / 0.5671 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.6253, allocations: 4 kB / 0.5671 GB, free: 7.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.6255, allocations: 160.7 kB / 0.5673 GB, free: 7.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6255, allocations: 3.938 kB / 0.5673 GB, free: 7.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.6259, allocations: 39.8 kB / 0.5673 GB, free: 7.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001233/0.6272, allocations: 431.5 kB / 0.5678 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.6274, allocations: 56.92 kB / 0.5678 GB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6275, allocations: 0 / 0.5678 GB, free: 7.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.6276, allocations: 37.73 kB / 0.5678 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.628, allocations: 22.11 kB / 0.5679 GB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.6286, allocations: 233.3 kB / 0.5681 GB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.6289, allocations: 0.7082 MB / 0.5688 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.629, allocations: 18.94 kB / 0.5688 GB, free: 6.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.629, allocations: 0 / 0.5688 GB, free: 6.238 MB / 378.7 MB Notification: Performance of Templates: time 0.005818/0.6348, allocations: 2.037 MB / 0.5708 GB, free: 4.207 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches