Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.476/1.476, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007648/0.000765, allocations: 93.34 kB / 271.9 MB, free: 8.258 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.3641/0.3641, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004236, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.4233, allocations: 86.42 MB / 0.5643 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4236, allocations: 75.95 kB / 0.5644 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009851/0.4334, allocations: 3.933 MB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4335, allocations: 0 / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4335, allocations: 0 / 0.5682 GB, free: 11.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003963/0.4339, allocations: 406.7 kB / 0.5686 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4339, allocations: 8.031 kB / 0.5686 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.434, allocations: 9.969 kB / 0.5686 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4342, allocations: 208 kB / 0.5688 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4342, allocations: 4.375 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4343, allocations: 4.359 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4344, allocations: 52.56 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4344, allocations: 192 / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4344, allocations: 3.938 kB / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4344, allocations: 0 / 0.5689 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.4345, allocations: 23.98 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.4349, allocations: 288.8 kB / 0.5692 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4351, allocations: 50.48 kB / 0.5692 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.4352, allocations: 20.86 kB / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.4352, allocations: 2.906 kB / 0.5693 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4352, allocations: 30.56 kB / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4352, allocations: 0 / 0.5693 GB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005311/0.4358, allocations: 161.5 kB / 0.5695 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4358, allocations: 51.41 kB / 0.5695 GB, free: 10.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.436, allocations: 202.2 kB / 0.5697 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.436, allocations: 29.7 kB / 0.5697 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.4361, allocations: 112 kB / 0.5698 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4361, allocations: 11.8 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.4361, allocations: 0 / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4363, allocations: 326.8 kB / 0.5702 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.4363, allocations: 27.92 kB / 0.5702 GB, free: 9.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.4364, allocations: 23.98 kB / 0.5702 GB, free: 9.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4365, allocations: 52.83 kB / 0.5703 GB, free: 9.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4365, allocations: 0 / 0.5703 GB, free: 9.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001815/0.4367, allocations: 94.39 kB / 0.5703 GB, free: 9.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4367, allocations: 4 kB / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4368, allocations: 0 / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4368, allocations: 0 / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.4368, allocations: 15.98 kB / 0.5704 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4369, allocations: 3.938 kB / 0.5704 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.4369, allocations: 12.25 kB / 0.5704 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4369, allocations: 0 / 0.5704 GB, free: 9.484 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 (5): * Single equations (assignments): 5 * 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.0001013/0.437, allocations: 137.7 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4371, allocations: 15.91 kB / 0.5705 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.4373, allocations: 105.9 kB / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4373, allocations: 288 / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4373, allocations: 0 / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4373, allocations: 0 / 0.5706 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.4377, allocations: 378.4 kB / 0.571 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4378, allocations: 4 kB / 0.571 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.4378, allocations: 21.02 kB / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4378, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4378, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4378, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4378, allocations: 0 / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.4381, allocations: 191.3 kB / 0.5712 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.4381, allocations: 93 kB / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4382, allocations: 0 / 0.5713 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.4382, allocations: 12 kB / 0.5713 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.4383, allocations: 7.922 kB / 0.5713 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4383, allocations: 0 / 0.5713 GB, free: 8.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4384, allocations: 163.8 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4384, allocations: 3.938 kB / 0.5715 GB, free: 8.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.4387, allocations: 20 kB / 0.5715 GB, free: 8.258 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 (5): * Single equations (assignments): 5 * 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.000869/0.4395, allocations: 405.7 kB / 0.5719 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.4397, allocations: 51.97 kB / 0.5719 GB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4397, allocations: 3.938 kB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.4398, allocations: 27.98 kB / 0.5719 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.4401, allocations: 15.98 kB / 0.572 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.4405, allocations: 269 kB / 0.5722 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4408, allocations: 0.7043 MB / 0.5729 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.4409, allocations: 15.38 kB / 0.5729 GB, free: 6.824 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4409, allocations: 0 / 0.5729 GB, free: 6.824 MB / 394.7 MB Notification: Performance of Templates: time 0.002867/0.4438, allocations: 1.534 MB / 0.5744 GB, free: 5.297 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches