Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.592/1.592, allocations: 205.4 MB / 222.9 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.0007974/0.0007972, allocations: 82.38 kB / 271.3 MB, free: 8.25 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.4071/0.4071, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005406, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 58.86 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5736, allocations: 87.72 MB / 0.5656 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.5739, allocations: 79.95 kB / 0.5657 GB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.5893, allocations: 5.32 MB / 0.5709 GB, free: 8.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5894, allocations: 0 / 0.5709 GB, free: 8.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5894, allocations: 8 kB / 0.5709 GB, free: 8.914 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.0006133/0.59, allocations: 426 kB / 0.5713 GB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5901, allocations: 8.031 kB / 0.5713 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.5901, allocations: 12.75 kB / 0.5713 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.5905, allocations: 220.7 kB / 0.5715 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.5905, allocations: 16.34 kB / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.5905, allocations: 384 / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5907, allocations: 54.23 kB / 0.5716 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5907, allocations: 192 / 0.5716 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5907, allocations: 7.938 kB / 0.5716 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.5907, allocations: 0 / 0.5716 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.5908, allocations: 19.98 kB / 0.5716 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.5913, allocations: 292.9 kB / 0.5719 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.5915, allocations: 62.62 kB / 0.572 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.5915, allocations: 28.78 kB / 0.572 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5916, allocations: 0 / 0.572 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.5917, allocations: 68.55 kB / 0.5721 GB, free: 7.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.876e-06/0.5917, allocations: 4 kB / 0.5721 GB, free: 7.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006408/0.5924, allocations: 177.1 kB / 0.5722 GB, free: 7.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.5925, allocations: 55.39 kB / 0.5723 GB, free: 7.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5927, allocations: 201.6 kB / 0.5725 GB, free: 7.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5928, allocations: 29.7 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.5928, allocations: 100.1 kB / 0.5726 GB, free: 6.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.5929, allocations: 23.66 kB / 0.5726 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5929, allocations: 4 kB / 0.5726 GB, free: 6.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5931, allocations: 330.8 kB / 0.573 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.5931, allocations: 19.98 kB / 0.573 GB, free: 6.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.5932, allocations: 41.7 kB / 0.573 GB, free: 6.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5934, allocations: 62.5 kB / 0.5731 GB, free: 6.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5934, allocations: 0 / 0.5731 GB, free: 6.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/0.5936, allocations: 106.4 kB / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5936, allocations: 8.031 kB / 0.5732 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5936, allocations: 0 / 0.5732 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5937, allocations: 4 kB / 0.5732 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5938, allocations: 15.94 kB / 0.5732 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5938, allocations: 3.984 kB / 0.5732 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.5939, allocations: 4.188 kB / 0.5732 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5939, allocations: 8 kB / 0.5732 GB, free: 6.316 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.0001581/0.594, allocations: 129.7 kB / 0.5733 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5941, allocations: 19.81 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.5944, allocations: 119.4 kB / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5944, allocations: 0 / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5944, allocations: 0 / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5944, allocations: 0 / 0.5735 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.5949, allocations: 423.2 kB / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.595, allocations: 0 / 0.5739 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.595, allocations: 12.03 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.595, allocations: 0 / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.595, allocations: 8 kB / 0.5739 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5951, allocations: 0 / 0.5739 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5951, allocations: 7.875 kB / 0.5739 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.5954, allocations: 212.1 kB / 0.5741 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.5954, allocations: 89.02 kB / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.5955, allocations: 8 kB / 0.5742 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.5956, allocations: 7.984 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.5956, allocations: 11.88 kB / 0.5742 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5956, allocations: 4 kB / 0.5742 GB, free: 5.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5958, allocations: 160.8 kB / 0.5744 GB, free: 5.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5958, allocations: 0 / 0.5744 GB, free: 5.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.5961, allocations: 31.94 kB / 0.5744 GB, free: 4.988 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.001173/0.5973, allocations: 486 kB / 0.5749 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.5975, allocations: 63.91 kB / 0.5749 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5975, allocations: 0 / 0.5749 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.5976, allocations: 31.98 kB / 0.575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5979, allocations: 28.05 kB / 0.575 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.5985, allocations: 260.3 kB / 0.5752 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5988, allocations: 0.7121 MB / 0.5759 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.999e-05/0.5989, allocations: 8.562 kB / 0.5759 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.5989, allocations: 19.42 kB / 0.576 GB, free: 3.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.599, allocations: 0 / 0.576 GB, free: 3.449 MB / 394.7 MB Notification: Performance of Templates: time 0.004748/0.6037, allocations: 1.719 MB / 0.5776 GB, free: 1.742 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches