Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 186.7 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 2.035/2.035, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001181/0.00118, allocations: 84.48 kB / 270.9 MB, free: 8.387 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.5627/0.5627, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004885, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5882, allocations: 86.43 MB / 0.5631 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5885, allocations: 71.95 kB / 0.5632 GB, free: 72 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01879/0.6073, allocations: 4.235 MB / 0.5673 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6073, allocations: 3.938 kB / 0.5673 GB, free: 11.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.6074, allocations: 4 kB / 0.5673 GB, free: 11.87 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.0006066/0.608, allocations: 422.4 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6081, allocations: 12.5 kB / 0.5678 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.6081, allocations: 11.81 kB / 0.5678 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.6085, allocations: 206.3 kB / 0.568 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.6085, allocations: 3.984 kB / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.6085, allocations: 7.938 kB / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.6088, allocations: 61.61 kB / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6088, allocations: 0 / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6088, allocations: 4 kB / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6088, allocations: 8 kB / 0.568 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.609, allocations: 33 kB / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.6096, allocations: 312.7 kB / 0.5684 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.6098, allocations: 58.5 kB / 0.5684 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.6099, allocations: 4 kB / 0.5684 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.6099, allocations: 30.56 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.234e-06/0.6099, allocations: 0 / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009964/0.6109, allocations: 208 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.611, allocations: 55.36 kB / 0.5687 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.6113, allocations: 206.5 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.6114, allocations: 25.7 kB / 0.5689 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.6115, allocations: 166.6 kB / 0.5691 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.6115, allocations: 31.64 kB / 0.5691 GB, free: 9.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.6116, allocations: 4 kB / 0.5691 GB, free: 9.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6117, allocations: 310.8 kB / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.6119, allocations: 27.98 kB / 0.5695 GB, free: 9.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.612, allocations: 23.98 kB / 0.5695 GB, free: 9.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.6122, allocations: 36.84 kB / 0.5695 GB, free: 9.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6122, allocations: 0 / 0.5695 GB, free: 9.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003809/0.6126, allocations: 105.5 kB / 0.5696 GB, free: 9.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6126, allocations: 4 kB / 0.5696 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6127, allocations: 0 / 0.5696 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6127, allocations: 4 kB / 0.5696 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6129, allocations: 23.98 kB / 0.5696 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6129, allocations: 3.953 kB / 0.5696 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.613, allocations: 8 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.613, allocations: 4.781 kB / 0.5697 GB, free: 9.297 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 0.0001526/0.6132, allocations: 129.8 kB / 0.5698 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.6132, allocations: 7.906 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.6137, allocations: 143.1 kB / 0.5699 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6138, allocations: 4 kB / 0.5699 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.6138, allocations: 3.938 kB / 0.5699 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6138, allocations: 3.953 kB / 0.5699 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.6146, allocations: 422.4 kB / 0.5703 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6147, allocations: 3.938 kB / 0.5703 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.6148, allocations: 19.98 kB / 0.5704 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6148, allocations: 0 / 0.5704 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6149, allocations: 0 / 0.5704 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.6149, allocations: 11.45 kB / 0.5704 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6149, allocations: 4 kB / 0.5704 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.6153, allocations: 207.3 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6154, allocations: 93 kB / 0.5707 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.6155, allocations: 0 / 0.5707 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6156, allocations: 15.94 kB / 0.5707 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.6157, allocations: 15.92 kB / 0.5707 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.6157, allocations: 0 / 0.5707 GB, free: 8.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.616, allocations: 174.5 kB / 0.5709 GB, free: 7.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.616, allocations: 0 / 0.5709 GB, free: 7.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.6164, allocations: 28 kB / 0.5709 GB, free: 7.941 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.001243/0.6176, allocations: 416.2 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.6181, allocations: 67.95 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6181, allocations: 0 / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.6183, allocations: 39.91 kB / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.6186, allocations: 19.98 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.6194, allocations: 310.5 kB / 0.5717 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.6198, allocations: 0.716 MB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.6199, allocations: 15.44 kB / 0.5724 GB, free: 6.414 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6199, allocations: 0 / 0.5724 GB, free: 6.414 MB / 394.7 MB Notification: Performance of Templates: time 0.005448/0.6254, allocations: 1.771 MB / 0.5741 GB, free: 4.645 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches