Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009966/0.0009967, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.321/1.321, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008212/0.0008213, allocations: 101.5 kB / 267.1 MB, free: 9.277 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.3358/0.3358, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.764e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4736, allocations: 87.62 MB / 0.5584 GB, free: 16.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4738, allocations: 76.09 kB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.4869, allocations: 5.488 MB / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.487, allocations: 0 / 0.5638 GB, free: 13.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.487, allocations: 11.28 kB / 0.5638 GB, free: 13.29 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.0004025/0.4874, allocations: 401.5 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4875, allocations: 8.031 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4875, allocations: 19.25 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.4878, allocations: 213.5 kB / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4878, allocations: 9.062 kB / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4878, allocations: 0 / 0.5644 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.488, allocations: 54.31 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.488, allocations: 0 / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.488, allocations: 5.375 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.488, allocations: 0 / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.4881, allocations: 21.16 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.4884, allocations: 298.8 kB / 0.5648 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.4885, allocations: 60.56 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.4885, allocations: 20.55 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.4886, allocations: 3.984 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.4887, allocations: 69.5 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4887, allocations: 0 / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003852/0.4891, allocations: 168 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4891, allocations: 51.41 kB / 0.5652 GB, free: 11.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4893, allocations: 198.4 kB / 0.5654 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.4893, allocations: 25.7 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.4893, allocations: 108.7 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.4893, allocations: 18.91 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4893, allocations: 3.375 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.4894, allocations: 322.1 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.4894, allocations: 22.56 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.4895, allocations: 41.47 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.4895, allocations: 21.5 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4895, allocations: 0 / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.4897, allocations: 105 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4897, allocations: 4 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4897, allocations: 0 / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4897, allocations: 4 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.4898, allocations: 19.36 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4898, allocations: 3.953 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4899, allocations: 11.97 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4899, allocations: 4 kB / 0.566 GB, free: 11.07 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 () * 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 5.353e-05/0.49, allocations: 106.7 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.49, allocations: 11.91 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.4902, allocations: 118.9 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4902, allocations: 3.984 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4902, allocations: 1.312 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4902, allocations: 3.953 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.4906, allocations: 423.9 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4906, allocations: 4 kB / 0.5667 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.4906, allocations: 11.94 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4906, allocations: 0 / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4906, allocations: 3.5 kB / 0.5667 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4907, allocations: 15.88 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4907, allocations: 0 / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.4908, allocations: 216.7 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4909, allocations: 96.73 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4909, allocations: 8.125 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.491, allocations: 10.88 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.491, allocations: 4 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.491, allocations: 7.984 kB / 0.567 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.4911, allocations: 159.6 kB / 0.5672 GB, free: 9.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4911, allocations: 4 kB / 0.5672 GB, free: 9.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.4914, allocations: 30.75 kB / 0.5672 GB, free: 9.867 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) * 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.0008667/0.4923, allocations: 426.6 kB / 0.5676 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4924, allocations: 60.86 kB / 0.5677 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4924, allocations: 0 / 0.5677 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.4925, allocations: 30.5 kB / 0.5677 GB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4927, allocations: 23.41 kB / 0.5677 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.493, allocations: 183.4 kB / 0.5679 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4931, allocations: 0.7151 MB / 0.5686 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.023e-05/0.4932, allocations: 22.33 kB / 0.5686 GB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.4932, allocations: 22.5 kB / 0.5687 GB, free: 8.484 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4933, allocations: 0 / 0.5687 GB, free: 8.484 MB / 394.7 MB Notification: Performance of Templates: time 0.00351/0.4968, allocations: 1.741 MB / 0.5704 GB, free: 6.762 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches