Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001193/0.001193, 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.405/1.405, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2242/0.2242, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 64.55 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1437, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.004623/0.1484, allocations: 1.668 MB / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.1494, allocations: 415.3 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.1494, allocations: 4 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1498, allocations: 95.73 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.15, allocations: 59.81 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1503, allocations: 82.34 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1505, allocations: 87.8 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1506, allocations: 23.98 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.1507, allocations: 35.84 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1508, allocations: 59.75 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1508, allocations: 4 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.151, allocations: 47.97 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.151, allocations: 19.92 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1511, allocations: 35.69 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1513, allocations: 123.9 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1513, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1513, allocations: 4 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1513, allocations: 0 / 471.3 MB, free: 12.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006251/0.152, allocations: 422.8 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.152, allocations: 8.031 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.1521, allocations: 16.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1524, allocations: 208.6 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1524, allocations: 8.375 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.1525, allocations: 4.375 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1527, allocations: 77.78 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1527, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1527, allocations: 7.984 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1528, allocations: 3.938 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1529, allocations: 35.97 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.1534, allocations: 324.7 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1535, allocations: 62.61 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.1536, allocations: 28.78 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1536, allocations: 160 / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1537, allocations: 34.56 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1537, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001113/0.1548, allocations: 313.2 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1549, allocations: 51.41 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1551, allocations: 235.5 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1551, allocations: 29.64 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.1552, allocations: 120 kB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.1553, allocations: 47.34 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.1553, allocations: 25.72 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1555, allocations: 322.8 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.1556, allocations: 35.97 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.1557, allocations: 35.98 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1559, allocations: 94.33 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1559, allocations: 3.938 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002484/0.1562, allocations: 136.3 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1562, allocations: 4 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1562, allocations: 0 / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1562, allocations: 7.938 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1564, allocations: 35.91 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1564, allocations: 0 / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.1565, allocations: 4 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1565, allocations: 8 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001287/0.1566, allocations: 129.8 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1567, allocations: 7.906 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.1571, allocations: 167 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1571, allocations: 7.938 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1571, allocations: 3.938 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1571, allocations: 4 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.1578, allocations: 471.2 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1578, allocations: 3.984 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.1579, allocations: 27.92 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1579, allocations: 0 / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.158, allocations: 12.03 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.158, allocations: 0 / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.158, allocations: 0 / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1583, allocations: 240.1 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.1583, allocations: 88.92 kB / 475.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1584, allocations: 3.984 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.1585, allocations: 12 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1585, allocations: 11.92 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1585, allocations: 4 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1587, allocations: 179.2 kB / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1587, allocations: 0 / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.159, allocations: 20 kB / 475.3 MB, free: 7.715 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001083/0.16, allocations: 465.5 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1603, allocations: 95.89 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1603, allocations: 3.938 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1605, allocations: 59.91 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1609, allocations: 25.75 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.1615, allocations: 333.6 kB / 476.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1619, allocations: 0.7121 MB / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.367e-05/0.162, allocations: 20.55 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.162, allocations: 19.44 kB / 477 MB, free: 6.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.162, allocations: 4 kB / 477 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Templates: time 0.003942/0.166, allocations: 1.457 MB / 478.5 MB, free: 4.676 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches