Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000997/0.000997, 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.275/1.275, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008178/0.0008178, allocations: 88.83 kB / 267 MB, free: 9.273 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.3288/0.3288, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.865e-05, allocations: 11.98 kB / 425.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09818, allocations: 58.84 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.428, allocations: 87.72 MB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4282, allocations: 74.97 kB / 0.5586 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.4411, allocations: 5.221 MB / 0.5637 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4412, allocations: 0.5469 kB / 0.5637 GB, free: 13.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4412, allocations: 0 / 0.5637 GB, free: 13.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003167/0.4415, allocations: 398.7 kB / 0.564 GB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4416, allocations: 12.92 kB / 0.564 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4416, allocations: 11.34 kB / 0.5641 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4418, allocations: 201.6 kB / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4418, allocations: 0 / 0.5642 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.4419, allocations: 8 kB / 0.5643 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.442, allocations: 74.34 kB / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.442, allocations: 0 / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.442, allocations: 0 / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.442, allocations: 4 kB / 0.5643 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.4421, allocations: 22.97 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.4424, allocations: 296 kB / 0.5646 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.4425, allocations: 64.55 kB / 0.5647 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.4425, allocations: 21.62 kB / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.4426, allocations: 0 / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.4427, allocations: 73.09 kB / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4427, allocations: 0 / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003744/0.4431, allocations: 174.9 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4431, allocations: 81.11 kB / 0.565 GB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.4432, allocations: 145.2 kB / 0.5652 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.4432, allocations: 25.7 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.4433, allocations: 95.27 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4433, allocations: 37.17 kB / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4433, allocations: 0 / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.4434, allocations: 325.3 kB / 0.5656 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.4434, allocations: 17.75 kB / 0.5656 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.4435, allocations: 48.06 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.4435, allocations: 19.12 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4435, allocations: 0 / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001219/0.4436, allocations: 102.5 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4437, allocations: 13.05 kB / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4437, allocations: 0 / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4437, allocations: 0 / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.4438, allocations: 29.3 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4438, allocations: 0 / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.4438, allocations: 11.41 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4439, allocations: 0 / 0.5659 GB, free: 11.2 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 (11): * Single equations (assignments): 11 * 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 4.255e-05/0.4439, allocations: 109.2 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.4439, allocations: 11.91 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.4441, allocations: 127.8 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4441, allocations: 0 / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4441, allocations: 5.312 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4442, allocations: 4 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.4444, allocations: 407.2 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4445, allocations: 3.938 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.4445, allocations: 15.98 kB / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4445, allocations: 0 / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4445, allocations: 0 / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4445, allocations: 4 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4445, allocations: 4.406 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4447, allocations: 227.1 kB / 0.5667 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.4447, allocations: 92.62 kB / 0.5668 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4448, allocations: 4 kB / 0.5668 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.4448, allocations: 7.375 kB / 0.5668 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.4449, allocations: 11.98 kB / 0.5668 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4449, allocations: 0 / 0.5668 GB, free: 10.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.445, allocations: 120.3 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.445, allocations: 4 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.4452, allocations: 46.42 kB / 0.567 GB, free: 10.02 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 (10): * Single equations (assignments): 8 * 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.0008589/0.4461, allocations: 468.3 kB / 0.5675 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.4462, allocations: 61.17 kB / 0.5675 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4462, allocations: 0 / 0.5675 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.4463, allocations: 42 kB / 0.5676 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4465, allocations: 31.17 kB / 0.5676 GB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.4468, allocations: 131.7 kB / 0.5677 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4469, allocations: 0.7148 MB / 0.5684 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.01e-05/0.447, allocations: 16.94 kB / 0.5684 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.447, allocations: 19.42 kB / 0.5684 GB, free: 8.625 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.447, allocations: 4 kB / 0.5684 GB, free: 8.621 MB / 394.7 MB Notification: Performance of Templates: time 0.003611/0.4506, allocations: 1.988 MB / 0.5704 GB, free: 6.652 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches