Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 104 kB / 17.63 MB, free: 5.543 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.001291/0.001291, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2212/0.2212, allocations: 44.17 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 68.98 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003652/0.1258, allocations: 1.699 MB / 471 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1272, allocations: 0.8769 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.1273, allocations: 4 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1275, allocations: 39.77 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1278, allocations: 43.77 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1281, allocations: 111.6 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1283, allocations: 103.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1284, allocations: 8.234 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.1285, allocations: 39.8 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.1285, allocations: 27.86 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1286, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.1287, allocations: 39.97 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1287, allocations: 19.92 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1288, allocations: 31.75 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.129, allocations: 111.9 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.129, allocations: 4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.129, allocations: 3.938 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.129, allocations: 0 / 472.4 MB, free: 11.21 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.0005374/0.1296, allocations: 399.1 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1296, allocations: 8.031 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1297, allocations: 8.844 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1299, allocations: 200.8 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1299, allocations: 11.92 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1299, allocations: 4 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1301, allocations: 65.59 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1301, allocations: 3.906 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1301, allocations: 4 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1302, allocations: 3.938 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.1302, allocations: 19.98 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1306, allocations: 280.9 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1308, allocations: 54.62 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.1308, allocations: 28.84 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1309, allocations: 0 / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.1311, allocations: 59.39 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1311, allocations: 0 / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.1316, allocations: 177.2 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1317, allocations: 55.34 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1318, allocations: 159.9 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1319, allocations: 29.7 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1319, allocations: 96.05 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.132, allocations: 31.62 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.132, allocations: 25.72 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1321, allocations: 322.8 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.1322, allocations: 23.98 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1323, allocations: 41.64 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1324, allocations: 53.7 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1324, allocations: 0 / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1326, allocations: 101.5 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1326, allocations: 4 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1326, allocations: 4.031 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1326, allocations: 3.938 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.1327, allocations: 19.98 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1327, allocations: 192 / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1328, allocations: 0 / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1328, allocations: 7.938 kB / 474.7 MB, free: 8.707 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.0001096/0.1329, allocations: 129.8 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1329, allocations: 7.906 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.133, allocations: 20.66 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.133, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.133, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.133, allocations: 4 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.1334, allocations: 387.6 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1334, allocations: 0 / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1335, allocations: 19.92 kB / 475.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1335, allocations: 0 / 475.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1335, allocations: 4 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1335, allocations: 8.031 kB / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1335, allocations: 0 / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1337, allocations: 208.3 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1338, allocations: 81.02 kB / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1338, allocations: 11.98 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.1339, allocations: 0 / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1339, allocations: 8 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1339, allocations: 7.984 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.134, allocations: 125.5 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.134, allocations: 0 / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1343, allocations: 24 kB / 475.7 MB, free: 7.574 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.000997/0.1353, allocations: 459.8 kB / 476.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1355, allocations: 75.77 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1355, allocations: 0 / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.1356, allocations: 31.86 kB / 476.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1359, allocations: 27.98 kB / 476.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.1364, allocations: 203 kB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1366, allocations: 0.7002 MB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.1367, allocations: 17.19 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1367, allocations: 19.42 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1367, allocations: 0 / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004499/0.1412, allocations: 1.699 MB / 478.9 MB, free: 4.504 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches