Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.03 kB / 17 MB, free: 6.398 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.001223/0.001223, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.26 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003354, allocations: 8.219 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002263/0.1323, allocations: 1.386 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1344, allocations: 1.382 MB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.1345, allocations: 0 / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1348, allocations: 31.83 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.135, allocations: 47.83 kB / 474.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1353, allocations: 90.95 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1354, allocations: 83.69 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.1355, allocations: 20.22 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1357, allocations: 35.78 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1358, allocations: 31.84 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1359, allocations: 4 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.136, allocations: 47.98 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.136, allocations: 15.91 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.1361, allocations: 37.64 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1363, allocations: 88.09 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1363, allocations: 0 / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1363, allocations: 3.938 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1363, allocations: 4 kB / 474.9 MB, free: 10.38 MB / 350.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.0006331/0.1369, allocations: 389.4 kB / 475.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.137, allocations: 8.031 kB / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.1372, allocations: 11.81 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1375, allocations: 206.9 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1375, allocations: 3.953 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1376, allocations: 0 / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1377, allocations: 75.33 kB / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1377, allocations: 3.984 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1378, allocations: 4 kB / 475.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1378, allocations: 4 kB / 475.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.1378, allocations: 15.98 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1382, allocations: 288.8 kB / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1384, allocations: 58.62 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.1385, allocations: 20.84 kB / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1385, allocations: 0 / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1387, allocations: 71.33 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1387, allocations: 0 / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.1393, allocations: 177.2 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.1394, allocations: 81.11 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1395, allocations: 148.4 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1395, allocations: 25.7 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1396, allocations: 100.1 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1396, allocations: 23.7 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1396, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1397, allocations: 318.8 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.1398, allocations: 31.92 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.1399, allocations: 38.56 kB / 477 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.14, allocations: 20 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.14, allocations: 0 / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.1402, allocations: 101.5 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1402, allocations: 4 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1402, allocations: 0 / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1402, allocations: 4.062 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.1403, allocations: 23.98 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1403, allocations: 0 / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1404, allocations: 7.938 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1404, allocations: 3.953 kB / 477.1 MB, free: 7.918 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.1405, allocations: 122.4 kB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1406, allocations: 19.73 kB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1406, allocations: 13.06 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1406, allocations: 0 / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1406, allocations: 7.938 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1406, allocations: 0 / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.1411, allocations: 395.2 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1411, allocations: 0 / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1412, allocations: 8 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1412, allocations: 4 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1412, allocations: 4 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1412, allocations: 0 / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1412, allocations: 8.359 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1414, allocations: 200.3 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1415, allocations: 96.94 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1415, allocations: 4 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1416, allocations: 7.938 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1416, allocations: 19.94 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1416, allocations: 4 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1418, allocations: 115.2 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1421, allocations: 31.98 kB / 478.2 MB, free: 6.77 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/0.1432, allocations: 497.6 kB / 478.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1434, allocations: 55.92 kB / 478.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1434, allocations: 3.938 kB / 478.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.1435, allocations: 36.19 kB / 478.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1438, allocations: 27.97 kB / 478.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1442, allocations: 210.1 kB / 479 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1445, allocations: 0.7014 MB / 479.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.1445, allocations: 12.88 kB / 479.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.1446, allocations: 15.44 kB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1446, allocations: 0 / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of Templates: time 0.004394/0.149, allocations: 1.846 MB / 481.6 MB, free: 3.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches