Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009541/0.0009542, allocations: 183.4 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.33/1.33, 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.000819/0.000819, allocations: 90.55 kB / 267.1 MB, free: 9.266 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.3389/0.3389, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.717e-05, allocations: 8 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.5104, allocations: 87.84 MB / 0.5586 GB, free: 16.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5107, allocations: 75.77 kB / 0.5587 GB, free: 16.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.5247, allocations: 5.77 MB / 0.5643 GB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5247, allocations: 0 / 0.5643 GB, free: 13.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.5248, allocations: 7.172 kB / 0.5643 GB, free: 13.02 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.0003672/0.5251, allocations: 389.8 kB / 0.5647 GB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5252, allocations: 8.031 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.5252, allocations: 11.34 kB / 0.5647 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.5255, allocations: 206.8 kB / 0.5649 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5255, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.5255, allocations: 4 kB / 0.5649 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5257, allocations: 75.83 kB / 0.565 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5257, allocations: 0 / 0.565 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5257, allocations: 0 / 0.565 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5257, allocations: 8 kB / 0.565 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.5258, allocations: 14.77 kB / 0.565 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.5261, allocations: 286.3 kB / 0.5653 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.5262, allocations: 60.7 kB / 0.5653 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.5263, allocations: 18.06 kB / 0.5654 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.5263, allocations: 0 / 0.5654 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.5264, allocations: 68.55 kB / 0.5654 GB, free: 11.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.5264, allocations: 0 / 0.5654 GB, free: 11.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004164/0.5268, allocations: 151.7 kB / 0.5656 GB, free: 11.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5269, allocations: 84.72 kB / 0.5656 GB, free: 11.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.527, allocations: 143.6 kB / 0.5658 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.527, allocations: 28.7 kB / 0.5658 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.5271, allocations: 100.5 kB / 0.5659 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.5271, allocations: 24.58 kB / 0.5659 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5271, allocations: 0 / 0.5659 GB, free: 11.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.5272, allocations: 326.1 kB / 0.5662 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.5272, allocations: 23.44 kB / 0.5663 GB, free: 11.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.5272, allocations: 41.41 kB / 0.5663 GB, free: 11.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.5273, allocations: 20.66 kB / 0.5663 GB, free: 11.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5273, allocations: 4 kB / 0.5663 GB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.5274, allocations: 92.8 kB / 0.5664 GB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5274, allocations: 9.453 kB / 0.5664 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5275, allocations: 0 / 0.5664 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5275, allocations: 8.062 kB / 0.5664 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5276, allocations: 17.48 kB / 0.5664 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5276, allocations: 1.641 kB / 0.5664 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.5277, allocations: 4 kB / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.5277, allocations: 4 kB / 0.5665 GB, free: 10.89 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.507e-05/0.5277, allocations: 107.1 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.5278, allocations: 11.91 kB / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.528, allocations: 115.3 kB / 0.5667 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.528, allocations: 5.5 kB / 0.5667 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.528, allocations: 4 kB / 0.5667 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.528, allocations: 0 / 0.5667 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.5283, allocations: 396.1 kB / 0.5671 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5283, allocations: 9.391 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.5284, allocations: 11.75 kB / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5284, allocations: 5.5 kB / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5284, allocations: 0 / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5284, allocations: 4.125 kB / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5284, allocations: 4.031 kB / 0.5671 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.5286, allocations: 223.9 kB / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.5286, allocations: 95.56 kB / 0.5674 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.5287, allocations: 4 kB / 0.5674 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.5287, allocations: 1.453 kB / 0.5674 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.5288, allocations: 14.64 kB / 0.5674 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5288, allocations: 4 kB / 0.5674 GB, free: 9.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.5289, allocations: 119.4 kB / 0.5675 GB, free: 9.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5289, allocations: 0 / 0.5675 GB, free: 9.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.5291, allocations: 43.55 kB / 0.5676 GB, free: 9.805 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.0009046/0.53, allocations: 459.9 kB / 0.568 GB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.5302, allocations: 55.62 kB / 0.5681 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5302, allocations: 4 kB / 0.5681 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.5302, allocations: 39.05 kB / 0.5681 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5305, allocations: 22.88 kB / 0.5681 GB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.5308, allocations: 132.4 kB / 0.5683 GB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.5309, allocations: 0.7043 MB / 0.569 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.531, allocations: 22.39 kB / 0.569 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.531, allocations: 15.44 kB / 0.569 GB, free: 8.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.531, allocations: 0 / 0.569 GB, free: 8.434 MB / 394.7 MB Notification: Performance of Templates: time 0.003699/0.5347, allocations: 1.911 MB / 0.5709 GB, free: 6.547 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches