Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001235/0.001236, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.333/1.333, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.215/0.215, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.94 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003146/0.1212, allocations: 1.691 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1233, allocations: 1.487 MB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.1233, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1236, allocations: 35.83 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1239, allocations: 59.69 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1241, allocations: 107.5 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1243, allocations: 99.69 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.1244, allocations: 12.22 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.1245, allocations: 43.8 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1247, allocations: 39.83 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1247, allocations: 4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1248, allocations: 59.97 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1249, allocations: 19.86 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1249, allocations: 27.81 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1251, allocations: 124 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1251, allocations: 3.938 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1252, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1252, allocations: 0 / 473.7 MB, free: 10.54 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.0005159/0.1257, allocations: 403.2 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1257, allocations: 8.031 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1258, allocations: 12.78 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.126, allocations: 216 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1261, allocations: 384 / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1261, allocations: 8.125 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1263, allocations: 67.39 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1263, allocations: 4 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1263, allocations: 4 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1263, allocations: 0 / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.1264, allocations: 19.98 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1268, allocations: 280.8 kB / 474.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1269, allocations: 58.67 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.127, allocations: 20.86 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.127, allocations: 3.938 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1272, allocations: 67.39 kB / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.457e-06/0.1272, allocations: 0 / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005255/0.1278, allocations: 173.1 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1278, allocations: 85.11 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.128, allocations: 156.3 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.128, allocations: 25.7 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.1281, allocations: 92.14 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1281, allocations: 27.69 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1281, allocations: 25.72 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1283, allocations: 326.8 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.1283, allocations: 15.98 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1284, allocations: 50.56 kB / 475.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1285, allocations: 57.77 kB / 475.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1285, allocations: 3.938 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.1287, allocations: 97.59 kB / 476 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1287, allocations: 4 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1287, allocations: 0 / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1288, allocations: 4.062 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.1289, allocations: 23.92 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1289, allocations: 0 / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1289, allocations: 11.88 kB / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1289, allocations: 0 / 476 MB, free: 7.984 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.674e-05/0.129, allocations: 125.8 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1291, allocations: 12.08 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.1291, allocations: 12.72 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1291, allocations: 3.938 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1291, allocations: 4.375 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1291, allocations: 3.938 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1296, allocations: 387.3 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1296, allocations: 4 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1296, allocations: 12 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1296, allocations: 4 kB / 476.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1296, allocations: 3.938 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1296, allocations: 0 / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1296, allocations: 4.031 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1299, allocations: 212 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.1299, allocations: 89.02 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.13, allocations: 3.938 kB / 476.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.13, allocations: 4 kB / 476.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1301, allocations: 7.984 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1301, allocations: 12 kB / 476.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.1302, allocations: 115.2 kB / 477 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 477 MB, free: 6.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1305, allocations: 28 kB / 477.1 MB, free: 6.848 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.001136/0.1316, allocations: 0.4926 MB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1318, allocations: 55.92 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1318, allocations: 0 / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.1319, allocations: 39.98 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1322, allocations: 27.91 kB / 477.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1326, allocations: 220.6 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1329, allocations: 0.7012 MB / 478.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.133, allocations: 23.36 kB / 478.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.133, allocations: 0 / 478.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Templates: time 0.003622/0.1366, allocations: 2.06 MB / 480.7 MB, free: 3.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches