Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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",fileNamePrefix="ModelicaTest_4.0.0_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001276, allocations: 106.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 44.18 MB / 336.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.44 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1428, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003731/0.1466, allocations: 1.763 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1484, allocations: 0.877 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1485, allocations: 4 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1489, allocations: 35.84 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1492, allocations: 43.77 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1495, allocations: 107 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1497, allocations: 87.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1498, allocations: 12.22 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.1499, allocations: 39.78 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.15, allocations: 39.78 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.15, allocations: 4 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1502, allocations: 71.95 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.1503, allocations: 15.92 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.1503, allocations: 23.81 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1506, allocations: 123.9 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1506, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1506, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1506, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.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.0006662/0.1513, allocations: 415.1 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1514, allocations: 8.031 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1514, allocations: 16.78 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1517, allocations: 210.3 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1517, allocations: 4.375 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1518, allocations: 4.125 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.152, allocations: 71.39 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1521, allocations: 3.984 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1521, allocations: 4 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1521, allocations: 4 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.1522, allocations: 19.98 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1527, allocations: 276.8 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1529, allocations: 62.61 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.153, allocations: 28.97 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.153, allocations: 4 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.1534, allocations: 71.33 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1534, allocations: 0 / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006503/0.1541, allocations: 209.3 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.1541, allocations: 77.11 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1543, allocations: 163.2 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1543, allocations: 29.7 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1544, allocations: 92.14 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1545, allocations: 35.55 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1546, allocations: 29.7 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1547, allocations: 318.8 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.1548, allocations: 31.98 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.1549, allocations: 50.48 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1551, allocations: 81.67 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1551, allocations: 0 / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002181/0.1553, allocations: 121.5 kB / 474.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1554, allocations: 4 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1554, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1554, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1555, allocations: 31.92 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1555, allocations: 0 / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1556, allocations: 8.031 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1556, allocations: 3.984 kB / 474.2 MB, free: 8.895 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.1557, allocations: 130.2 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1557, allocations: 11.81 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1558, allocations: 16.7 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1558, allocations: 12.02 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1558, allocations: 3.938 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1558, allocations: 0 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.1563, allocations: 419.2 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1563, allocations: 4 kB / 474.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.1564, allocations: 15.92 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1564, allocations: 0 / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1564, allocations: 8 kB / 474.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1564, allocations: 0 / 474.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1564, allocations: 0 / 474.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1567, allocations: 224.2 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1568, allocations: 88.92 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1568, allocations: 0 / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1569, allocations: 8 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1569, allocations: 7.984 kB / 475.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.157, allocations: 4 kB / 475.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1571, allocations: 120.6 kB / 475.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1571, allocations: 0 / 475.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1575, allocations: 39.98 kB / 475.3 MB, free: 7.695 MB / 350.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.1588, allocations: 0.501 MB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1591, allocations: 79.84 kB / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1591, allocations: 0 / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.1592, allocations: 36.11 kB / 475.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1595, allocations: 35.62 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.16, allocations: 225 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1603, allocations: 0.708 MB / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.1604, allocations: 24.61 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.1604, allocations: 23.42 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1605, allocations: 4 kB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004964/0.1654, allocations: 2.044 MB / 479 MB, free: 4.176 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches