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.001454/0.001453, allocations: 111.9 kB / 17.86 MB, free: 5.504 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.001695/0.001695, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.442/1.442, allocations: 222.9 MB / 242.5 MB, free: 15.49 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.2191/0.2191, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.64 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00401/0.1186, allocations: 1.795 MB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1203, allocations: 0.8809 MB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1204, allocations: 0 / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1208, allocations: 103.8 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1211, allocations: 83.72 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1215, allocations: 95.83 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1217, allocations: 123.7 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1218, allocations: 12 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.122, allocations: 67.75 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1222, allocations: 67.73 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1223, allocations: 4 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1224, allocations: 51.98 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.1225, allocations: 27.86 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.1226, allocations: 55.66 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1228, allocations: 108.1 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1228, allocations: 0 / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1228, allocations: 0 / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1228, allocations: 0 / 472.6 MB, free: 11.36 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.0006804/0.1235, allocations: 458.7 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1235, allocations: 12.02 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1236, allocations: 16.75 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1239, allocations: 223.8 kB / 473.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1239, allocations: 8.375 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.124, allocations: 8.125 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1242, allocations: 69.66 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1242, allocations: 0 / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1242, allocations: 3.938 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1242, allocations: 4 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1244, allocations: 39.91 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.125, allocations: 332.6 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1254, allocations: 78.48 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.1255, allocations: 36.78 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1255, allocations: 0 / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.1258, allocations: 75.38 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.1258, allocations: 0 / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009856/0.1268, allocations: 308 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1269, allocations: 55.41 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.1272, allocations: 247.2 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1273, allocations: 33.7 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.1273, allocations: 116 kB / 474.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.1274, allocations: 39.45 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1275, allocations: 33.7 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1276, allocations: 326.8 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.1277, allocations: 39.98 kB / 475.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1278, allocations: 57.69 kB / 475.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.128, allocations: 101.6 kB / 475.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.128, allocations: 4 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002846/0.1283, allocations: 157.4 kB / 475.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1284, allocations: 8.844 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1284, allocations: 0 / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1284, allocations: 3.938 kB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1285, allocations: 27.98 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1285, allocations: 4.031 kB / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.1286, allocations: 8 kB / 475.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1286, allocations: 4.109 kB / 475.5 MB, free: 8.246 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.0001325/0.1287, allocations: 142.2 kB / 475.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1288, allocations: 19.7 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.1288, allocations: 33.45 kB / 475.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1289, allocations: 3.938 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1289, allocations: 0 / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1289, allocations: 4 kB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1295, allocations: 0.4922 MB / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1295, allocations: 7.984 kB / 476.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1296, allocations: 19.94 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1296, allocations: 0 / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1296, allocations: 4 kB / 476.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1296, allocations: 8.047 kB / 476.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1297, allocations: 0 / 476.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.1301, allocations: 272 kB / 476.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1302, allocations: 88.92 kB / 476.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1302, allocations: 8 kB / 476.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1303, allocations: 4 kB / 476.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1303, allocations: 15.98 kB / 476.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1304, allocations: 4 kB / 476.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.1306, allocations: 188.2 kB / 476.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1306, allocations: 0 / 476.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1309, allocations: 35.98 kB / 476.9 MB, free: 6.801 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.00123/0.1322, allocations: 0.5029 MB / 477.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1324, allocations: 111.8 kB / 477.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1325, allocations: 4 kB / 477.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1326, allocations: 47.92 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.133, allocations: 35.72 kB / 477.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.1337, allocations: 392.2 kB / 477.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.134, allocations: 0.7243 MB / 478.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.12e-05/0.1341, allocations: 27.42 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1341, allocations: 7.938 kB / 478.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.005312/0.1394, allocations: 2.452 MB / 481.1 MB, free: 2.656 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