Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008616/0.0008617, allocations: 177 kB / 17.41 MB, free: 4.41 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.264/1.264, 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.00081/0.0008098, allocations: 90.41 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.2923/0.2923, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 15.98 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 58.84 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.3701, allocations: 86.73 MB / 0.5646 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3703, allocations: 71.97 kB / 0.5647 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.3812, allocations: 4.592 MB / 0.5692 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3812, allocations: 4 kB / 0.5692 GB, free: 11.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.3812, allocations: 0 / 0.5692 GB, free: 11.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003663/0.3816, allocations: 394.9 kB / 0.5696 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3817, allocations: 12.02 kB / 0.5696 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3817, allocations: 5.969 kB / 0.5696 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3819, allocations: 196 kB / 0.5698 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3819, allocations: 4.375 kB / 0.5698 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3819, allocations: 4.375 kB / 0.5698 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3821, allocations: 75.95 kB / 0.5698 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3821, allocations: 192 / 0.5698 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3821, allocations: 3.938 kB / 0.5698 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3821, allocations: 4 kB / 0.5698 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3823, allocations: 39.91 kB / 0.5699 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.3826, allocations: 288.8 kB / 0.5702 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3827, allocations: 54.56 kB / 0.5702 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.3828, allocations: 32.09 kB / 0.5702 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3828, allocations: 0 / 0.5702 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3828, allocations: 30.56 kB / 0.5703 GB, free: 9.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3828, allocations: 0 / 0.5703 GB, free: 9.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.3834, allocations: 198.1 kB / 0.5705 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3835, allocations: 81.11 kB / 0.5705 GB, free: 9.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3836, allocations: 139.1 kB / 0.5707 GB, free: 9.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3836, allocations: 25.7 kB / 0.5707 GB, free: 9.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3837, allocations: 96.05 kB / 0.5708 GB, free: 9.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3837, allocations: 23.64 kB / 0.5708 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.3837, allocations: 4 kB / 0.5708 GB, free: 9.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3838, allocations: 326.8 kB / 0.5711 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.3839, allocations: 32.06 kB / 0.5712 GB, free: 8.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.384, allocations: 41.69 kB / 0.5712 GB, free: 8.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3842, allocations: 64.83 kB / 0.5713 GB, free: 8.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3842, allocations: 4.031 kB / 0.5713 GB, free: 8.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.3844, allocations: 109.5 kB / 0.5714 GB, free: 8.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3844, allocations: 4 kB / 0.5714 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3844, allocations: 4.375 kB / 0.5714 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3844, allocations: 0 / 0.5714 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.3845, allocations: 19.98 kB / 0.5714 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3845, allocations: 4 kB / 0.5714 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.3846, allocations: 11.94 kB / 0.5714 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3846, allocations: 4 kB / 0.5714 GB, free: 8.57 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 (8): * Single equations (assignments): 8 * 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.647e-05/0.3847, allocations: 126.3 kB / 0.5715 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3848, allocations: 7.906 kB / 0.5715 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.385, allocations: 122.3 kB / 0.5717 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.385, allocations: 4 kB / 0.5717 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.385, allocations: 0 / 0.5717 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.385, allocations: 3.984 kB / 0.5717 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.3855, allocations: 398.3 kB / 0.572 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3855, allocations: 1.031 kB / 0.572 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.3856, allocations: 19.98 kB / 0.5721 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3856, allocations: 0 / 0.5721 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3856, allocations: 4 kB / 0.5721 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3856, allocations: 3.938 kB / 0.5721 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3856, allocations: 4 kB / 0.5721 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.3858, allocations: 207.3 kB / 0.5723 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3859, allocations: 89 kB / 0.5724 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3859, allocations: 4 kB / 0.5724 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.386, allocations: 7.938 kB / 0.5724 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3861, allocations: 15.97 kB / 0.5724 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3861, allocations: 7.938 kB / 0.5724 GB, free: 7.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.3861, allocations: 110.8 kB / 0.5725 GB, free: 7.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3862, allocations: 0 / 0.5725 GB, free: 7.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.3864, allocations: 31.92 kB / 0.5725 GB, free: 7.324 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 (8): * Single equations (assignments): 8 * 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.0008807/0.3873, allocations: 449.6 kB / 0.573 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3875, allocations: 67.91 kB / 0.573 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3875, allocations: 0 / 0.573 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.3876, allocations: 44.12 kB / 0.5731 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3879, allocations: 12.16 kB / 0.5731 GB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.3883, allocations: 235.9 kB / 0.5733 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3885, allocations: 0.6965 MB / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.3886, allocations: 19.42 kB / 0.574 GB, free: 5.859 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3886, allocations: 0 / 0.574 GB, free: 5.859 MB / 394.7 MB Notification: Performance of Templates: time 0.003205/0.3918, allocations: 1.705 MB / 0.5757 GB, free: 4.16 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches