Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 118.1 kB / 17.09 MB, free: 6.008 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.001281/0.001281, allocations: 193.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2058/0.2058, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.89 kB / 442.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002827/0.1256, allocations: 1.701 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1275, allocations: 1.402 MB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.1275, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1279, allocations: 47.7 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1281, allocations: 67.69 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1284, allocations: 87.77 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1285, allocations: 103.7 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.1286, allocations: 20.2 kB / 0.492 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.1287, allocations: 43.78 kB / 0.492 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1289, allocations: 39.84 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1289, allocations: 4 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.129, allocations: 67.95 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.1291, allocations: 15.88 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1291, allocations: 43.72 kB / 0.4922 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1294, allocations: 119.7 kB / 0.4923 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1294, allocations: 3.938 kB / 0.4923 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1294, allocations: 4 kB / 0.4923 GB, free: 7.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1294, allocations: 0 / 0.4923 GB, free: 7.973 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005658/0.13, allocations: 415 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.13, allocations: 11.89 kB / 0.4927 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1301, allocations: 8.844 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1304, allocations: 220.6 kB / 0.4929 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1304, allocations: 3.938 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1304, allocations: 4 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1306, allocations: 79.38 kB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1306, allocations: 4 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1307, allocations: 3.984 kB / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1307, allocations: 0 / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.1308, allocations: 31.92 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1311, allocations: 292.8 kB / 0.4933 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1313, allocations: 74.66 kB / 0.4934 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.1314, allocations: 24.86 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1314, allocations: 0 / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1316, allocations: 83.22 kB / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1316, allocations: 0 / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005578/0.1322, allocations: 193.4 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1322, allocations: 85.05 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1324, allocations: 154.4 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1324, allocations: 25.7 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1325, allocations: 100.1 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1325, allocations: 27.62 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.1326, allocations: 29.8 kB / 0.4941 GB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1327, allocations: 326.8 kB / 0.4944 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1328, allocations: 27.98 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.1329, allocations: 46.56 kB / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.133, allocations: 65.64 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.133, allocations: 0 / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001941/0.1332, allocations: 113.5 kB / 0.4946 GB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1332, allocations: 8.062 kB / 0.4946 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1332, allocations: 0 / 0.4946 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1333, allocations: 7.938 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.1334, allocations: 19.98 kB / 0.4947 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1334, allocations: 3.938 kB / 0.4947 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1334, allocations: 4 kB / 0.4947 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1334, allocations: 8 kB / 0.4947 GB, free: 5.266 MB / 382.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 (11): * Single equations (assignments): 11 * 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.313e-05/0.1335, allocations: 125.8 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1336, allocations: 7.906 kB / 0.4948 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1336, allocations: 24.59 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1336, allocations: 3.984 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1336, allocations: 0 / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1337, allocations: 4 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.1341, allocations: 411.2 kB / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1341, allocations: 0 / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.1341, allocations: 12 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1342, allocations: 4 kB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1342, allocations: 8.016 kB / 0.4952 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1342, allocations: 0 / 0.4952 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1342, allocations: 4 kB / 0.4952 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1344, allocations: 212.2 kB / 0.4954 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.1345, allocations: 85.02 kB / 0.4955 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1345, allocations: 11.98 kB / 0.4955 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1346, allocations: 4 kB / 0.4955 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1346, allocations: 7.938 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1347, allocations: 11.98 kB / 0.4956 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.1347, allocations: 123.9 kB / 0.4957 GB, free: 4.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 0.4957 GB, free: 4.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000273/0.135, allocations: 28 kB / 0.4957 GB, free: 4.09 MB / 382.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 (9): * Single equations (assignments): 7 * 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.001131/0.1362, allocations: 0.5031 MB / 0.4962 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1364, allocations: 75.83 kB / 0.4963 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1364, allocations: 64 / 0.4963 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.1365, allocations: 35.94 kB / 0.4963 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1369, allocations: 38.86 kB / 0.4963 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.1374, allocations: 232.6 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1376, allocations: 0.6963 MB / 0.4972 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.1377, allocations: 31.48 kB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1377, allocations: 0 / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of Templates: time 0.003972/0.1417, allocations: 2.162 MB / 0.4994 GB, free: 312 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches