Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001207/0.001207, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2112/0.2112, allocations: 43.53 MB / 314.1 MB, free: 440 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.001442/0.001442, allocations: 74.81 kB / 441.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 57.8 MB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003289/0.1307, allocations: 1.697 MB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1322, allocations: 0.8195 MB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1324, allocations: 3.938 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1327, allocations: 43.77 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1331, allocations: 63.67 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1335, allocations: 79.78 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1337, allocations: 99.73 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1338, allocations: 20.2 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1339, allocations: 51.72 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.134, allocations: 31.78 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1341, allocations: 8 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1343, allocations: 59.97 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.1343, allocations: 19.97 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1344, allocations: 31.75 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1347, allocations: 127.7 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1347, allocations: 0 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1347, allocations: 4 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1347, allocations: 0 / 0.491 GB, free: 8.512 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.0006498/0.1354, allocations: 415 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1354, allocations: 11.89 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1355, allocations: 8.844 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1358, allocations: 207.8 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1358, allocations: 384 / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1359, allocations: 12.03 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1361, allocations: 83.3 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1361, allocations: 0 / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1361, allocations: 4 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1361, allocations: 4 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.1362, allocations: 19.98 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1366, allocations: 296.7 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1368, allocations: 62.5 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1369, allocations: 20.97 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1369, allocations: 4 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.1371, allocations: 63.39 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.1371, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005899/0.1377, allocations: 185.2 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1378, allocations: 81.05 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1379, allocations: 149.8 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1379, allocations: 33.64 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.138, allocations: 96.12 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.138, allocations: 31.62 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1381, allocations: 29.7 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1382, allocations: 326.8 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1383, allocations: 20 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.1384, allocations: 46.56 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1385, allocations: 69.64 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1385, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002027/0.1387, allocations: 105.5 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1387, allocations: 7.125 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1388, allocations: 4.062 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1388, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.1389, allocations: 19.98 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1389, allocations: 0 / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.1389, allocations: 7.938 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.139, allocations: 4 kB / 0.4934 GB, free: 5.887 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.892e-05/0.1391, allocations: 125.7 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1391, allocations: 15.89 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.1394, allocations: 114.5 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1394, allocations: 3.938 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1394, allocations: 0 / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1394, allocations: 3.938 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.1399, allocations: 403.2 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1399, allocations: 0 / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1399, allocations: 12 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1399, allocations: 3.984 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.14, allocations: 7.969 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.14, allocations: 0 / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.14, allocations: 7.938 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1402, allocations: 204.2 kB / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1403, allocations: 89.02 kB / 0.4943 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1403, allocations: 3.938 kB / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1404, allocations: 4 kB / 0.4943 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1404, allocations: 11.98 kB / 0.4943 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1404, allocations: 8 kB / 0.4943 GB, free: 4.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.1405, allocations: 118.5 kB / 0.4944 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 0.4944 GB, free: 4.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1408, allocations: 35.98 kB / 0.4945 GB, free: 4.625 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.001161/0.142, allocations: 0.4956 MB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1422, allocations: 63.91 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1423, allocations: 4.062 kB / 0.495 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.1424, allocations: 35.92 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1427, allocations: 31.59 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1432, allocations: 198.9 kB / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1435, allocations: 0.7041 MB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.1435, allocations: 21.02 kB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1436, allocations: 15.44 kB / 0.496 GB, free: 3.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1436, allocations: 0 / 0.496 GB, free: 3.047 MB / 382.1 MB Notification: Performance of Templates: time 0.005096/0.1487, allocations: 2.056 MB / 0.498 GB, free: 0.9961 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches