Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 117.8 kB / 17.09 MB, free: 5.949 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.001131/0.001132, allocations: 198.4 kB / 18.01 MB, free: 5.035 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.565/1.565, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2512/0.2512, allocations: 43.52 MB / 314.8 MB, free: 456 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.001431/0.001431, allocations: 73.61 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003165/0.1244, allocations: 1.697 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1258, allocations: 0.8039 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.1259, allocations: 3.938 kB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1264, allocations: 107.7 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1266, allocations: 79.72 kB / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1269, allocations: 95.69 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1271, allocations: 107.7 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1273, allocations: 16.19 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1274, allocations: 51.78 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1276, allocations: 63.75 kB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1276, allocations: 8 kB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1277, allocations: 39.98 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.1278, allocations: 39.84 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.1279, allocations: 35.73 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1281, allocations: 119.6 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1281, allocations: 0 / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1281, allocations: 0 / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1281, allocations: 0 / 0.4918 GB, free: 8.445 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007024/0.1288, allocations: 434.7 kB / 0.4922 GB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1289, allocations: 11.89 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.129, allocations: 24.73 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1293, allocations: 212.8 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1293, allocations: 8.297 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1293, allocations: 12.12 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1295, allocations: 49.67 kB / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1295, allocations: 0 / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1296, allocations: 4 kB / 0.4925 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1296, allocations: 4 kB / 0.4925 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1296, allocations: 19.92 kB / 0.4925 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.13, allocations: 292.9 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1302, allocations: 62.66 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.1303, allocations: 16.86 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1303, allocations: 4 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.1305, allocations: 75.31 kB / 0.493 GB, free: 7.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1305, allocations: 0 / 0.493 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.131, allocations: 181.1 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.131, allocations: 51.41 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1313, allocations: 242.3 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1313, allocations: 29.7 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1314, allocations: 112.1 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1314, allocations: 27.66 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1314, allocations: 25.7 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1316, allocations: 330.8 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.1317, allocations: 19.98 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.1317, allocations: 41.64 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1318, allocations: 57.66 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1319, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.132, allocations: 105.5 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1321, allocations: 4 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1321, allocations: 0 / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1321, allocations: 4 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.1322, allocations: 15.94 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1322, allocations: 3.984 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.1323, allocations: 7.938 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1323, allocations: 32 / 0.4942 GB, free: 5.766 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 (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 0.0001058/0.1324, allocations: 141.8 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1324, allocations: 11.81 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1325, allocations: 21.41 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1325, allocations: 3.938 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1325, allocations: 7.984 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1325, allocations: 3.938 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1329, allocations: 399.5 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1329, allocations: 0 / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.133, allocations: 12.31 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.133, allocations: 7.984 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.133, allocations: 3.938 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.133, allocations: 4 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.133, allocations: 0 / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1332, allocations: 212.2 kB / 0.495 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.1333, allocations: 85.02 kB / 0.495 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1333, allocations: 3.938 kB / 0.495 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1334, allocations: 11.98 kB / 0.4951 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1334, allocations: 0 / 0.4951 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1335, allocations: 4 kB / 0.4951 GB, free: 4.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1336, allocations: 188.3 kB / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1336, allocations: 0 / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1339, allocations: 23.89 kB / 0.4953 GB, free: 4.535 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 (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.001034/0.1349, allocations: 467.3 kB / 0.4957 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1351, allocations: 55.97 kB / 0.4958 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1351, allocations: 8 kB / 0.4958 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.1352, allocations: 27.98 kB / 0.4958 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1355, allocations: 39.52 kB / 0.4958 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.136, allocations: 285.2 kB / 0.4961 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1363, allocations: 0.7196 MB / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1363, allocations: 23.48 kB / 0.4968 GB, free: 2.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1364, allocations: 0 / 0.4968 GB, free: 2.906 MB / 382.1 MB Notification: Performance of Templates: time 0.003828/0.1402, allocations: 2.031 MB / 0.4988 GB, free: 0.8789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches