Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002335, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 89.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.038e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4049, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5665, allocations: 86.93 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5668, allocations: 71.97 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.5908, allocations: 5.228 MB / 0.556 GB, free: 7.086 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5908, allocations: 0 / 0.556 GB, free: 7.086 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.5909, allocations: 3.938 kB / 0.556 GB, free: 7.082 MB / 395.1 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.0005698/0.5914, allocations: 394.3 kB / 0.5564 GB, free: 6.652 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5915, allocations: 8.031 kB / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.5916, allocations: 11.91 kB / 0.5564 GB, free: 6.633 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.592, allocations: 225.5 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5921, allocations: 0 / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.5921, allocations: 0 / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.5922, allocations: 19.98 kB / 0.5566 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5924, allocations: 45.69 kB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5924, allocations: 0 / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5924, allocations: 0 / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5924, allocations: 7.938 kB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.5929, allocations: 273.4 kB / 0.5569 GB, free: 5.992 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5931, allocations: 46.7 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.5931, allocations: 24.97 kB / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.5932, allocations: 0 / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.5933, allocations: 63.41 kB / 0.5571 GB, free: 5.836 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.5934, allocations: 0 / 0.5571 GB, free: 5.836 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005937/0.594, allocations: 153.1 kB / 0.5572 GB, free: 5.68 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.594, allocations: 51.41 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.5943, allocations: 166.2 kB / 0.5574 GB, free: 5.449 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5943, allocations: 29.7 kB / 0.5574 GB, free: 5.414 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.5944, allocations: 162.6 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.5945, allocations: 23.7 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.5945, allocations: 4 kB / 0.5576 GB, free: 5.227 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5946, allocations: 310.8 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.5947, allocations: 20 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.5948, allocations: 37.64 kB / 0.558 GB, free: 4.852 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.002e-05/0.5949, allocations: 19.98 kB / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5949, allocations: 0 / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.5951, allocations: 89.58 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5951, allocations: 8.031 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5951, allocations: 0 / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5952, allocations: 0 / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.5953, allocations: 19.94 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5954, allocations: 3.984 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.5955, allocations: 0 / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.5955, allocations: 7.953 kB / 0.5581 GB, free: 4.699 MB / 395.1 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 () * 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 9.697e-05/0.5956, allocations: 105 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.5957, allocations: 7.906 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.596, allocations: 118.2 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.596, allocations: 0 / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.596, allocations: 288 / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.596, allocations: 4 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.5966, allocations: 379.9 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5967, allocations: 7.938 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.5968, allocations: 12 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5968, allocations: 4.031 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5968, allocations: 4 kB / 0.5587 GB, free: 4.012 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5968, allocations: 0 / 0.5587 GB, free: 4.012 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5968, allocations: 4 kB / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.5971, allocations: 209.9 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.5972, allocations: 93 kB / 0.559 GB, free: 3.668 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.5973, allocations: 8 kB / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5974, allocations: 0 / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5975, allocations: 15.92 kB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.5975, allocations: 7.938 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.5977, allocations: 140.1 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5977, allocations: 0 / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.5981, allocations: 31.91 kB / 0.5592 GB, free: 3.469 MB / 395.1 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) * 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.001166/0.5993, allocations: 401.7 kB / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.5995, allocations: 51.94 kB / 0.5596 GB, free: 3.059 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5995, allocations: 4.062 kB / 0.5597 GB, free: 3.055 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.5997, allocations: 24 kB / 0.5597 GB, free: 3.031 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.6001, allocations: 27.83 kB / 0.5597 GB, free: 3.004 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.6007, allocations: 194.9 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.6011, allocations: 0.708 MB / 0.5606 GB, free: 2.039 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.6012, allocations: 19.44 kB / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of SimCode: time 1.402e-06/0.6012, allocations: 0 / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of Templates: time 0.005976/0.6072, allocations: 1.921 MB / 0.5625 GB, free: 108 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches