Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001234/0.001235, allocations: 191 kB / 19.34 MB, free: 3.641 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.417/1.417, allocations: 222.9 MB / 243 MB, free: 15.13 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.2194/0.2194, allocations: 44.18 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002001, allocations: 72.31 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1224, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003129/0.1256, allocations: 1.699 MB / 472.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1269, allocations: 0.8808 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.127, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1272, allocations: 39.77 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1275, allocations: 55.7 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1278, allocations: 111.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1279, allocations: 91.77 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.128, allocations: 12.22 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.1281, allocations: 39.8 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1282, allocations: 27.84 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1282, allocations: 4 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.1283, allocations: 43.98 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1283, allocations: 31.84 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.1284, allocations: 35.73 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1286, allocations: 107.6 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1286, allocations: 0 / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1286, allocations: 0 / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1286, allocations: 4 kB / 473.9 MB, free: 10.48 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.000498/0.1291, allocations: 407 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1292, allocations: 12.03 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1292, allocations: 16.77 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1295, allocations: 211.9 kB / 474.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1295, allocations: 4.375 kB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1295, allocations: 12.12 kB / 474.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1297, allocations: 49.67 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1297, allocations: 4 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1297, allocations: 4 kB / 474.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1297, allocations: 7.922 kB / 474.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.1298, allocations: 16 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1301, allocations: 288.9 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1303, allocations: 58.62 kB / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1304, allocations: 24.84 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1304, allocations: 0 / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.1305, allocations: 63.39 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1305, allocations: 0 / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004953/0.131, allocations: 173.2 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1311, allocations: 55.41 kB / 475.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1312, allocations: 186.2 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1313, allocations: 29.69 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1313, allocations: 96.14 kB / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1314, allocations: 27.64 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1314, allocations: 25.72 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1315, allocations: 330.7 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.1316, allocations: 15.98 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.1317, allocations: 41.7 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1318, allocations: 53.72 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1318, allocations: 0 / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.132, allocations: 113.4 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.132, allocations: 4 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.132, allocations: 0 / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.132, allocations: 0 / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.1321, allocations: 24.02 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1321, allocations: 0 / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.1322, allocations: 7.875 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1322, allocations: 8.312 kB / 476.2 MB, free: 7.926 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 9.232e-05/0.1323, allocations: 125.8 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1323, allocations: 11.91 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1324, allocations: 12.72 kB / 476.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1324, allocations: 0 / 476.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1324, allocations: 4 kB / 476.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1324, allocations: 11.92 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.1328, allocations: 391.3 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1328, allocations: 0 / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1329, allocations: 8.188 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1329, allocations: 0 / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1329, allocations: 11.88 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1329, allocations: 0 / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1329, allocations: 240 / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1332, allocations: 212.2 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.1332, allocations: 89 kB / 477.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1332, allocations: 3.938 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1333, allocations: 4 kB / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1334, allocations: 15.97 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1334, allocations: 0 / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1335, allocations: 147.2 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1335, allocations: 0 / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1338, allocations: 27.98 kB / 477.3 MB, free: 6.762 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.001032/0.1348, allocations: 464.4 kB / 477.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.135, allocations: 59.91 kB / 477.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.135, allocations: 0 / 477.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.1351, allocations: 31.94 kB / 477.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1354, allocations: 26.78 kB / 477.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1359, allocations: 219.3 kB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1362, allocations: 0.7119 MB / 478.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.1362, allocations: 17.17 kB / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.1362, allocations: 15.44 kB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1362, allocations: 0 / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of Templates: time 0.00417/0.1404, allocations: 1.705 MB / 480.5 MB, free: 3.664 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches