Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_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.001116/0.001116, allocations: 112.6 kB / 17.08 MB, free: 6.016 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.001075/0.001075, allocations: 198.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.346/1.346, 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.2031/0.2031, allocations: 43.53 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.002521/0.002521, allocations: 67.89 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003555/0.133, allocations: 1.713 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1346, allocations: 0.8156 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1347, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.1352, allocations: 103.6 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.1355, allocations: 91.69 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1359, allocations: 91.77 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1361, allocations: 119.7 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1362, allocations: 11.98 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1364, allocations: 63.75 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1366, allocations: 75.67 kB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1366, allocations: 8 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1368, allocations: 43.98 kB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.1368, allocations: 31.91 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1369, allocations: 43.67 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1372, allocations: 139.5 kB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1372, allocations: 0 / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1372, allocations: 0 / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1372, allocations: 3.938 kB / 0.4919 GB, free: 8.379 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006526/0.1379, allocations: 442.7 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1379, allocations: 19.89 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.138, allocations: 8.844 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1384, allocations: 223.8 kB / 0.4925 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1384, allocations: 4.375 kB / 0.4925 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1385, allocations: 8.125 kB / 0.4925 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1386, allocations: 69.59 kB / 0.4926 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1387, allocations: 3.906 kB / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1387, allocations: 0 / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1387, allocations: 7.938 kB / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1388, allocations: 35.97 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1393, allocations: 320.7 kB / 0.493 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1395, allocations: 74.73 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.1396, allocations: 24.84 kB / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1396, allocations: 7.984 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1398, allocations: 79.41 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.1398, allocations: 3.938 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006856/0.1405, allocations: 225 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1406, allocations: 51.41 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1409, allocations: 250.5 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1409, allocations: 29.7 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.141, allocations: 120.1 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.141, allocations: 31.55 kB / 0.4938 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.1411, allocations: 29.7 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1412, allocations: 326.8 kB / 0.4942 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.1413, allocations: 27.98 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.1414, allocations: 45.7 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1416, allocations: 93.62 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1416, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002434/0.1418, allocations: 129.5 kB / 0.4944 GB, free: 5.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1419, allocations: 8 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1419, allocations: 0 / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1419, allocations: 0 / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.142, allocations: 23.92 kB / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.142, allocations: 7.938 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.1421, allocations: 8.031 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1421, allocations: 4 kB / 0.4945 GB, free: 5.445 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 (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.0001434/0.1423, allocations: 141.6 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1423, allocations: 23.8 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.1424, allocations: 21.41 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1424, allocations: 0 / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1424, allocations: 3.938 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1424, allocations: 0 / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.143, allocations: 459.1 kB / 0.4951 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.143, allocations: 0 / 0.4951 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.143, allocations: 19.92 kB / 0.4951 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.143, allocations: 0 / 0.4951 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1431, allocations: 4 kB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1431, allocations: 0 / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1431, allocations: 0 / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1434, allocations: 240.2 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.1434, allocations: 96.8 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1435, allocations: 0 / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1436, allocations: 8 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1436, allocations: 7.984 kB / 0.4955 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1436, allocations: 4 kB / 0.4955 GB, free: 4.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1438, allocations: 188.2 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1438, allocations: 0 / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1441, allocations: 35.98 kB / 0.4957 GB, free: 4.113 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 (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.001077/0.1452, allocations: 459.8 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1454, allocations: 83.91 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1454, allocations: 0 / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/0.1455, allocations: 43.92 kB / 0.4962 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1459, allocations: 39.2 kB / 0.4963 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.1465, allocations: 325.4 kB / 0.4966 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1468, allocations: 0.7319 MB / 0.4973 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1469, allocations: 19.38 kB / 0.4973 GB, free: 2.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1469, allocations: 0 / 0.4973 GB, free: 2.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004748/0.1517, allocations: 2.264 MB / 0.4995 GB, free: 156 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches