Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 109.9 kB / 17.33 MB, free: 5.98 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.001574/0.001574, allocations: 193.3 kB / 18.25 MB, free: 5.066 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.394/1.394, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2236/0.2236, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.08 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003449/0.1296, allocations: 1.752 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1311, allocations: 0.8653 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.1312, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1316, allocations: 39.89 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1318, allocations: 55.77 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1321, allocations: 94.7 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1323, allocations: 99.69 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.1324, allocations: 12.22 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.1325, allocations: 39.8 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.1326, allocations: 35.78 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1326, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.1327, allocations: 43.98 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1328, allocations: 23.91 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1329, allocations: 39.75 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1331, allocations: 115.8 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1331, allocations: 4 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1331, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1331, allocations: 4 kB / 471.9 MB, free: 11.49 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.0005946/0.1337, allocations: 430.8 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1338, allocations: 8.031 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1338, allocations: 12.75 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1341, allocations: 216.5 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1341, allocations: 4.375 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1341, allocations: 4.125 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1343, allocations: 57.67 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1343, allocations: 4 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1343, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1343, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.1344, allocations: 23.92 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1348, allocations: 300.7 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.135, allocations: 46.69 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.135, allocations: 28.84 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1351, allocations: 4 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.1353, allocations: 63.33 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1353, allocations: 0 / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005441/0.1358, allocations: 181.4 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1359, allocations: 51.41 kB / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1361, allocations: 226.7 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1361, allocations: 25.7 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.1362, allocations: 116 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1362, allocations: 23.66 kB / 473.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1363, allocations: 29.7 kB / 473.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1364, allocations: 326.8 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.1365, allocations: 19.98 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.1365, allocations: 37.84 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1367, allocations: 69.7 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1367, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.1369, allocations: 105.5 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1369, allocations: 7.938 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1369, allocations: 0 / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1369, allocations: 4 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.137, allocations: 16.03 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.137, allocations: 0 / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.1371, allocations: 15.92 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.1371, allocations: 192 / 474.4 MB, free: 8.84 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 (10): * Single equations (assignments): 10 * 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.0001018/0.1372, allocations: 125.8 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1372, allocations: 19.75 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1373, allocations: 25.34 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1373, allocations: 0 / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1373, allocations: 0 / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1373, allocations: 7.938 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1377, allocations: 395.3 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1377, allocations: 0 / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.1378, allocations: 11.94 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1378, allocations: 4 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1378, allocations: 3.938 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1378, allocations: 0 / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1378, allocations: 3.984 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1381, allocations: 208.2 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.1381, allocations: 81.02 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1382, allocations: 7.938 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1382, allocations: 0 / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1383, allocations: 11.98 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1383, allocations: 4 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1384, allocations: 180.2 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1385, allocations: 0 / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1387, allocations: 23.98 kB / 475.4 MB, free: 7.645 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 (8): * Single equations (assignments): 6 * 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.001036/0.1398, allocations: 465.6 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.14, allocations: 67.89 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.14, allocations: 0 / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.1401, allocations: 31.98 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1404, allocations: 31.73 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.1409, allocations: 286.8 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1412, allocations: 0.7119 MB / 477 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1412, allocations: 16.89 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1413, allocations: 19.42 kB / 477.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1413, allocations: 0 / 477.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Templates: time 0.004467/0.1457, allocations: 1.683 MB / 478.7 MB, free: 4.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches