Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.98/1.98, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001117/0.001117, allocations: 89.5 kB / 270.9 MB, free: 8.367 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.4926/0.4926, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007079/0.0007079, allocations: 15.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1387, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5864, allocations: 87.72 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5867, allocations: 75.95 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02625/0.613, allocations: 5.58 MB / 0.5699 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.613, allocations: 0 / 0.5699 GB, free: 9.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.6131, allocations: 0.5469 kB / 0.5699 GB, free: 9.398 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007168/0.6138, allocations: 434.3 kB / 0.5703 GB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.6139, allocations: 12.02 kB / 0.5703 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.6139, allocations: 15.34 kB / 0.5704 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.6143, allocations: 218.8 kB / 0.5706 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.6144, allocations: 7.938 kB / 0.5706 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.6144, allocations: 0 / 0.5706 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6146, allocations: 53.67 kB / 0.5706 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6146, allocations: 4 kB / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6147, allocations: 4 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6147, allocations: 1.031 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.6148, allocations: 23.98 kB / 0.5707 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.6153, allocations: 296.8 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.6156, allocations: 66.55 kB / 0.571 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.6156, allocations: 4 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.6159, allocations: 68.39 kB / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.6159, allocations: 0 / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008295/0.6167, allocations: 181.1 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6168, allocations: 55.36 kB / 0.5713 GB, free: 7.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.6171, allocations: 201.8 kB / 0.5715 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.6172, allocations: 33.7 kB / 0.5715 GB, free: 7.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.6173, allocations: 162.6 kB / 0.5717 GB, free: 7.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.6173, allocations: 31.62 kB / 0.5717 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.6174, allocations: 0 / 0.5717 GB, free: 7.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6175, allocations: 318.8 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.6176, allocations: 23.92 kB / 0.572 GB, free: 7.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.6177, allocations: 37.64 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.6178, allocations: 28 kB / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6179, allocations: 0 / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002844/0.6181, allocations: 93.98 kB / 0.5722 GB, free: 6.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6182, allocations: 4 kB / 0.5722 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6182, allocations: 0 / 0.5722 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6182, allocations: 4 kB / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.6184, allocations: 16 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6184, allocations: 3.984 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.774e-05/0.6185, allocations: 11.95 kB / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6185, allocations: 8.031 kB / 0.5722 GB, free: 6.812 MB / 394.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 () * Number of clocked 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 0.0001512/0.6187, allocations: 130.9 kB / 0.5724 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.6187, allocations: 11.81 kB / 0.5724 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.6191, allocations: 119 kB / 0.5725 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.6192, allocations: 7.984 kB / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6192, allocations: 0 / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6192, allocations: 0 / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.62, allocations: 431.3 kB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.62, allocations: 0 / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.6201, allocations: 15.92 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6201, allocations: 0 / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6201, allocations: 8 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6202, allocations: 3.953 kB / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6202, allocations: 4.016 kB / 0.5729 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.6206, allocations: 222 kB / 0.5731 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.6207, allocations: 100.9 kB / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.6208, allocations: 7.953 kB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6209, allocations: 4 kB / 0.5732 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.6209, allocations: 8.359 kB / 0.5733 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.621, allocations: 4 kB / 0.5733 GB, free: 5.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.6212, allocations: 177.3 kB / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6212, allocations: 0 / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.6216, allocations: 35.88 kB / 0.5735 GB, free: 5.438 MB / 394.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) * Number of clocked states: 0 () * 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.00138/0.623, allocations: 467.8 kB / 0.5739 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.6233, allocations: 63.92 kB / 0.574 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6234, allocations: 0 / 0.574 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.6235, allocations: 31.92 kB / 0.574 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.6239, allocations: 32.09 kB / 0.574 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000772/0.6247, allocations: 310.7 kB / 0.5743 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.625, allocations: 0.7121 MB / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.6251, allocations: 19.44 kB / 0.575 GB, free: 3.855 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6251, allocations: 4 kB / 0.575 GB, free: 3.852 MB / 394.7 MB Notification: Performance of Templates: time 0.005672/0.6308, allocations: 2.045 MB / 0.577 GB, free: 1.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches