Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 109.9 kB / 18.3 MB, free: 4.887 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.001201/0.001201, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.383/1.383, allocations: 222.9 MB / 242.9 MB, free: 15.26 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.203/0.203, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 70.08 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00418/0.1228, allocations: 1.722 MB / 471.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1245, allocations: 0.9002 MB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1246, allocations: 0 / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.125, allocations: 111.6 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1254, allocations: 87.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1258, allocations: 111.6 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.126, allocations: 131.7 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1261, allocations: 12 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1262, allocations: 63.75 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1263, allocations: 71.69 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1264, allocations: 8 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1265, allocations: 59.98 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1266, allocations: 35.89 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.1266, allocations: 47.62 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1269, allocations: 143.8 kB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1269, allocations: 0 / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1269, allocations: 0 / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1269, allocations: 0 / 473.4 MB, free: 10.85 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006301/0.1276, allocations: 454.7 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1276, allocations: 19.97 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.1277, allocations: 16.75 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1279, allocations: 219.8 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.128, allocations: 8.375 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.128, allocations: 8.125 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1282, allocations: 69.66 kB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1282, allocations: 0 / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1282, allocations: 0 / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1282, allocations: 4 kB / 474.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1284, allocations: 47.84 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1288, allocations: 336.5 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1291, allocations: 74.55 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.1292, allocations: 28.84 kB / 474.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1292, allocations: 7.938 kB / 474.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.1294, allocations: 71.39 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1294, allocations: 0 / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009/0.1303, allocations: 308.8 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1304, allocations: 51.41 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1307, allocations: 247.2 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1307, allocations: 29.7 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.1308, allocations: 124 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1308, allocations: 43.59 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1309, allocations: 29.7 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.131, allocations: 330.8 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.1311, allocations: 35.98 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.273e-05/0.1312, allocations: 57.69 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1314, allocations: 103.8 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1314, allocations: 0.8438 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002669/0.1316, allocations: 161.5 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1317, allocations: 7.938 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.1317, allocations: 0 / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1317, allocations: 7.938 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.1318, allocations: 23.98 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1318, allocations: 0 / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1319, allocations: 12.03 kB / 476.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1319, allocations: 4 kB / 476.3 MB, free: 7.73 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 (16): * Single equations (assignments): 16 * 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.0001207/0.132, allocations: 145.7 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1321, allocations: 19.72 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.1321, allocations: 21.52 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1321, allocations: 11.92 kB / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1321, allocations: 0 / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1321, allocations: 0 / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.1327, allocations: 0.4962 MB / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1328, allocations: 0 / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.1328, allocations: 23.92 kB / 477 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1328, allocations: 0 / 477 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1328, allocations: 4 kB / 477 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1329, allocations: 4 kB / 477 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1329, allocations: 0 / 477 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1332, allocations: 261 kB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.1332, allocations: 92.91 kB / 477.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1333, allocations: 8 kB / 477.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1333, allocations: 7.938 kB / 477.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1334, allocations: 11.98 kB / 477.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1334, allocations: 12 kB / 477.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1336, allocations: 188.2 kB / 477.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1336, allocations: 4 kB / 477.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.1339, allocations: 27.98 kB / 477.6 MB, free: 6.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001285/0.1352, allocations: 0.5142 MB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1355, allocations: 111.8 kB / 478.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.1355, allocations: 12 kB / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1356, allocations: 55.86 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.136, allocations: 29.47 kB / 478.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.1366, allocations: 350.6 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.137, allocations: 0.724 MB / 479.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.137, allocations: 27.42 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.137, allocations: 0 / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of Templates: time 0.004383/0.1414, allocations: 2.468 MB / 481.9 MB, free: 2.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches