Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 185.8 kB / 16.41 MB, free: 5.727 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.92/1.92, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001161/0.001161, allocations: 95.55 kB / 270.9 MB, free: 8.371 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.5316/0.5316, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1287, allocations: 58.86 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5938, allocations: 87.66 MB / 0.5643 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5941, allocations: 75.97 kB / 0.5644 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0239/0.6181, allocations: 5.181 MB / 0.5695 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6181, allocations: 0 / 0.5695 GB, free: 9.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.6182, allocations: 13.66 kB / 0.5695 GB, free: 9.656 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.0006262/0.6188, allocations: 410.5 kB / 0.5699 GB, free: 9.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6188, allocations: 8.031 kB / 0.5699 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.6189, allocations: 19.25 kB / 0.5699 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.6193, allocations: 200.1 kB / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.6193, allocations: 3.938 kB / 0.5701 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.6193, allocations: 8 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6195, allocations: 53.66 kB / 0.5702 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6196, allocations: 0 / 0.5702 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.6196, allocations: 8 kB / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6196, allocations: 1.031 kB / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.6197, allocations: 19.98 kB / 0.5702 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.6202, allocations: 292.7 kB / 0.5705 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.6205, allocations: 66.55 kB / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.6205, allocations: 0 / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.6207, allocations: 67.52 kB / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.6208, allocations: 0 / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007921/0.6216, allocations: 181.1 kB / 0.5708 GB, free: 8.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6216, allocations: 55.36 kB / 0.5708 GB, free: 8.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.6218, allocations: 153.5 kB / 0.571 GB, free: 7.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.6219, allocations: 29.7 kB / 0.571 GB, free: 7.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.622, allocations: 162.6 kB / 0.5712 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.622, allocations: 27.64 kB / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.622, allocations: 0 / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6222, allocations: 314.8 kB / 0.5715 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.6223, allocations: 23.92 kB / 0.5715 GB, free: 7.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6224, allocations: 37.7 kB / 0.5715 GB, free: 7.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6225, allocations: 24.86 kB / 0.5716 GB, free: 7.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6225, allocations: 4 kB / 0.5716 GB, free: 7.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002931/0.6228, allocations: 97.59 kB / 0.5717 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6228, allocations: 4 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6229, allocations: 0.7812 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6229, allocations: 4 kB / 0.5717 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.623, allocations: 15.98 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6231, allocations: 0 / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.6232, allocations: 11.95 kB / 0.5717 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6232, allocations: 0 / 0.5717 GB, free: 7.188 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.0001292/0.6233, allocations: 126.9 kB / 0.5718 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.6234, allocations: 11.81 kB / 0.5718 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.6238, allocations: 126.4 kB / 0.5719 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6238, allocations: 0 / 0.5719 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.6238, allocations: 4 kB / 0.5719 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6238, allocations: 288 / 0.5719 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.6245, allocations: 407.3 kB / 0.5723 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6245, allocations: 4 kB / 0.5723 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.6246, allocations: 15.88 kB / 0.5724 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6246, allocations: 0 / 0.5724 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.6247, allocations: 7.984 kB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.6247, allocations: 3.953 kB / 0.5724 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6247, allocations: 3.938 kB / 0.5724 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.625, allocations: 222 kB / 0.5726 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.6251, allocations: 92.92 kB / 0.5727 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.6252, allocations: 3.953 kB / 0.5727 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6253, allocations: 11.98 kB / 0.5727 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.6254, allocations: 4 kB / 0.5727 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.6254, allocations: 4 kB / 0.5727 GB, free: 6.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.6255, allocations: 128.5 kB / 0.5728 GB, free: 5.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6256, allocations: 0 / 0.5728 GB, free: 5.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.626, allocations: 35.94 kB / 0.5729 GB, free: 5.883 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.001328/0.6273, allocations: 472.2 kB / 0.5733 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.6276, allocations: 67.91 kB / 0.5734 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6276, allocations: 0 / 0.5734 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6278, allocations: 35.92 kB / 0.5734 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.6282, allocations: 25.34 kB / 0.5734 GB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.6288, allocations: 246.2 kB / 0.5737 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6291, allocations: 0.7043 MB / 0.5743 GB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.6292, allocations: 15.44 kB / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6292, allocations: 0 / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of Templates: time 0.005153/0.6343, allocations: 1.87 MB / 0.5762 GB, free: 2.516 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches