Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002123/0.002123, allocations: 186.9 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.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001164/0.001163, allocations: 95.55 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.5077/0.5077, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004901, allocations: 19.94 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.504/0.6325, allocations: 87.71 MB / 0.5644 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6329, allocations: 74.12 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02415/0.6571, allocations: 5.518 MB / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6571, allocations: 0 / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.6571, allocations: 4 kB / 0.5698 GB, free: 9.328 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.0006735/0.6578, allocations: 433.7 kB / 0.5703 GB, free: 8.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6579, allocations: 12.02 kB / 0.5703 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.658, allocations: 23.25 kB / 0.5703 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.6584, allocations: 212.1 kB / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.6584, allocations: 0 / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.6584, allocations: 4 kB / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.6586, allocations: 57.61 kB / 0.5706 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6587, allocations: 7.922 kB / 0.5706 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6587, allocations: 0 / 0.5706 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6587, allocations: 5.031 kB / 0.5706 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.6588, allocations: 15.98 kB / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.6593, allocations: 301.7 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.6596, allocations: 62.61 kB / 0.5709 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.6596, allocations: 4 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.6598, allocations: 71.52 kB / 0.571 GB, free: 7.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.6598, allocations: 0 / 0.571 GB, free: 7.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008157/0.6607, allocations: 177.2 kB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.6607, allocations: 55.36 kB / 0.5712 GB, free: 7.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.661, allocations: 195.8 kB / 0.5714 GB, free: 7.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.6611, allocations: 33.7 kB / 0.5714 GB, free: 7.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.6612, allocations: 162.5 kB / 0.5716 GB, free: 7.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6612, allocations: 23.7 kB / 0.5716 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.6612, allocations: 4 kB / 0.5716 GB, free: 7.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6614, allocations: 314.8 kB / 0.5719 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.6615, allocations: 23.98 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.6616, allocations: 42.39 kB / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.6617, allocations: 23.98 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6617, allocations: 0 / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002967/0.662, allocations: 97.58 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6621, allocations: 8.781 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6621, allocations: 0 / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6621, allocations: 0 / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.6623, allocations: 23.92 kB / 0.5721 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6623, allocations: 0 / 0.5721 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.6624, allocations: 7.953 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6624, allocations: 0 / 0.5721 GB, free: 6.77 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.0001557/0.6626, allocations: 129.8 kB / 0.5723 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.6627, allocations: 12.09 kB / 0.5723 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.6631, allocations: 130.8 kB / 0.5724 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6631, allocations: 3.984 kB / 0.5724 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6631, allocations: 0 / 0.5724 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6631, allocations: 0 / 0.5724 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.6639, allocations: 423.2 kB / 0.5728 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.6639, allocations: 7.938 kB / 0.5728 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.664, allocations: 8 kB / 0.5728 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.664, allocations: 4.031 kB / 0.5728 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.664, allocations: 3.984 kB / 0.5728 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/0.664, allocations: 11.89 kB / 0.5728 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.664, allocations: 0 / 0.5728 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.6644, allocations: 214 kB / 0.5731 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.6645, allocations: 100.9 kB / 0.5731 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.6646, allocations: 7.953 kB / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6647, allocations: 8 kB / 0.5732 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.6648, allocations: 7.984 kB / 0.5732 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.6648, allocations: 4 kB / 0.5732 GB, free: 5.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.665, allocations: 156.2 kB / 0.5733 GB, free: 5.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.665, allocations: 0 / 0.5733 GB, free: 5.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000373/0.6654, allocations: 39.92 kB / 0.5734 GB, free: 5.402 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.001402/0.6668, allocations: 487.8 kB / 0.5738 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.6672, allocations: 59.91 kB / 0.5739 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.6672, allocations: 0 / 0.5739 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6674, allocations: 39.98 kB / 0.5739 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.6678, allocations: 23.98 kB / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.6685, allocations: 303.4 kB / 0.5742 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.6689, allocations: 0.7082 MB / 0.5749 GB, free: 3.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.669, allocations: 15.44 kB / 0.5749 GB, free: 3.828 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.669, allocations: 0 / 0.5749 GB, free: 3.828 MB / 394.7 MB Notification: Performance of Templates: time 0.005887/0.6749, allocations: 1.997 MB / 0.5769 GB, free: 1.844 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches