Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.001221/0.001221, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.464/1.464, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2389/0.2389, allocations: 43.52 MB / 314.8 MB, free: 444 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.001362/0.001362, allocations: 73.45 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.132, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003891/0.1359, allocations: 1.909 MB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1377, allocations: 0.8426 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1379, allocations: 4 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.1384, allocations: 43.7 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1388, allocations: 63.61 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1392, allocations: 107.8 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1395, allocations: 135.6 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1396, allocations: 33.41 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1398, allocations: 51.78 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.14, allocations: 63.58 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.14, allocations: 4 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1402, allocations: 47.98 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1403, allocations: 27.92 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.1404, allocations: 55.59 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.1407, allocations: 143.5 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1407, allocations: 0 / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1407, allocations: 0 / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1408, allocations: 0 / 0.492 GB, free: 8.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008411/0.1416, allocations: 488.4 kB / 0.4925 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1417, allocations: 11.89 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.1417, allocations: 20.75 kB / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1422, allocations: 220.1 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1422, allocations: 12.31 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1422, allocations: 8.125 kB / 0.4928 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1425, allocations: 111.8 kB / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1426, allocations: 0 / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1426, allocations: 8 kB / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1426, allocations: 4 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1428, allocations: 51.89 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.1434, allocations: 0.5008 MB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1438, allocations: 86.66 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1439, allocations: 40.84 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.144, allocations: 0 / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1442, allocations: 83.31 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1442, allocations: 4 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004223/0.1446, allocations: 141.5 kB / 0.4938 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1447, allocations: 55.34 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1449, allocations: 191.8 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.145, allocations: 33.7 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1451, allocations: 116 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1451, allocations: 27.64 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.1452, allocations: 37.66 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1453, allocations: 322.8 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.1455, allocations: 31.97 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.1456, allocations: 60.28 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1458, allocations: 96.2 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1458, allocations: 3.938 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002732/0.146, allocations: 137.3 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1461, allocations: 12.12 kB / 0.4948 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1461, allocations: 3.938 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1461, allocations: 0 / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.1462, allocations: 27.92 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1462, allocations: 0 / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.1463, allocations: 11.91 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1463, allocations: 8 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000116/0.1464, allocations: 133.7 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1465, allocations: 19.81 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.1466, allocations: 13.41 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1466, allocations: 3.938 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1466, allocations: 7.984 kB / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1466, allocations: 0 / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1468, allocations: 209.5 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1468, allocations: 0 / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.1469, allocations: 12 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1469, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1469, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1469, allocations: 7.922 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1469, allocations: 8.094 kB / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1473, allocations: 180.8 kB / 0.4955 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1474, allocations: 85.02 kB / 0.4955 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1474, allocations: 4.031 kB / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.1475, allocations: 15.86 kB / 0.4956 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1475, allocations: 7.984 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1475, allocations: 8.062 kB / 0.4956 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1477, allocations: 141.2 kB / 0.4957 GB, free: 4.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1477, allocations: 0 / 0.4957 GB, free: 4.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1479, allocations: 28.12 kB / 0.4957 GB, free: 4.016 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001008/0.1489, allocations: 424.8 kB / 0.4961 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1492, allocations: 84.08 kB / 0.4962 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1493, allocations: 0 / 0.4962 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1494, allocations: 39.92 kB / 0.4963 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1497, allocations: 39.27 kB / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.1503, allocations: 281.6 kB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1506, allocations: 0.7163 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.1506, allocations: 19.38 kB / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1506, allocations: 0 / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of Templates: time 0.004613/0.1553, allocations: 2.166 MB / 0.4994 GB, free: 244 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches