Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001068, allocations: 97.97 kB / 18.01 MB, free: 5.602 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.0009988/0.0009988, allocations: 181.9 kB / 18.91 MB, free: 4.738 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.363/1.363, allocations: 223.3 MB / 243 MB, free: 68 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.26 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00216/0.1247, allocations: 1.433 MB / 474.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1262, allocations: 0.8499 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.1263, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1266, allocations: 83.77 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1269, allocations: 71.78 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1272, allocations: 98.58 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1274, allocations: 103.7 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1275, allocations: 19.98 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1276, allocations: 47.72 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1278, allocations: 55.77 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1278, allocations: 0 / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1279, allocations: 55.97 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.128, allocations: 23.91 kB / 475.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.1281, allocations: 57.45 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1282, allocations: 100 kB / 475.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1283, allocations: 8 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1283, allocations: 0 / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1283, allocations: 0 / 475.9 MB, free: 10.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005678/0.1289, allocations: 407 kB / 476.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1289, allocations: 12.03 kB / 476.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.129, allocations: 8.844 kB / 476.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1292, allocations: 216 kB / 476.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1292, allocations: 4.375 kB / 476.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1293, allocations: 8.125 kB / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1294, allocations: 69.59 kB / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1295, allocations: 0 / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1295, allocations: 0 / 476.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1295, allocations: 4 kB / 476.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1296, allocations: 19.98 kB / 476.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.13, allocations: 300.8 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1303, allocations: 66.48 kB / 477 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.1303, allocations: 20.98 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1304, allocations: 80 / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.1306, allocations: 75.36 kB / 477.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1306, allocations: 0 / 477.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008011/0.1314, allocations: 237.5 kB / 477.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1314, allocations: 55.34 kB / 477.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1316, allocations: 227 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1317, allocations: 25.7 kB / 477.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.1317, allocations: 104.1 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1318, allocations: 35.55 kB / 477.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1318, allocations: 21.64 kB / 477.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1319, allocations: 330.8 kB / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.132, allocations: 27.98 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.1321, allocations: 45.7 kB / 478.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1322, allocations: 77.7 kB / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1323, allocations: 0 / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.1325, allocations: 129.4 kB / 478.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1325, allocations: 4 kB / 478.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1325, allocations: 4.266 kB / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1325, allocations: 0 / 478.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.1326, allocations: 24 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.1327, allocations: 15.84 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1327, allocations: 4 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1327, allocations: 4 kB / 478.4 MB, free: 7.551 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 (13): * Single equations (assignments): 13 * 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.000119/0.1328, allocations: 134.3 kB / 478.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1329, allocations: 7.906 kB / 478.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.1329, allocations: 25.41 kB / 478.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1329, allocations: 0 / 478.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1329, allocations: 3.938 kB / 478.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.133, allocations: 7.984 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.1335, allocations: 451.9 kB / 479.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1336, allocations: 0 / 479.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1336, allocations: 15.98 kB / 479.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1336, allocations: 4.062 kB / 479.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1336, allocations: 8 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1336, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1336, allocations: 3.938 kB / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1339, allocations: 228.9 kB / 479.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.134, allocations: 97 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1341, allocations: 4 kB / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1341, allocations: 4.094 kB / 479.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1342, allocations: 11.92 kB / 479.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1342, allocations: 4 kB / 479.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1344, allocations: 159.2 kB / 479.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.1344, allocations: 0 / 479.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1346, allocations: 35.92 kB / 479.6 MB, free: 6.258 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 (11): * Single equations (assignments): 9 * 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.001233/0.1359, allocations: 0.5155 MB / 480.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1361, allocations: 83.84 kB / 480.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1361, allocations: 0 / 480.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1362, allocations: 39.92 kB / 480.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1366, allocations: 35.91 kB / 480.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.1372, allocations: 329.3 kB / 480.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1377, allocations: 0.7158 MB / 481.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1377, allocations: 19.44 kB / 481.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1377, allocations: 3.938 kB / 481.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Templates: time 0.004299/0.142, allocations: 2.156 MB / 483.5 MB, free: 2.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches