Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 46.92 MB / 357.8 MB, free: 10.45 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.89 kB / 0.4922 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 65.99 MB / 0.5566 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003177/0.1251, allocations: 1.739 MB / 0.5583 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1269, allocations: 1.038 MB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.1269, allocations: 0 / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1272, allocations: 43.77 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1275, allocations: 91.59 kB / 0.5594 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1277, allocations: 75.67 kB / 0.5595 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1279, allocations: 115.6 kB / 0.5596 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.1279, allocations: 8 kB / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.128, allocations: 43.78 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.1281, allocations: 35.84 kB / 0.5597 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1281, allocations: 8 kB / 0.5597 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.1282, allocations: 43.98 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1283, allocations: 15.92 kB / 0.5598 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1283, allocations: 39.67 kB / 0.5598 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1285, allocations: 115.5 kB / 0.5599 GB, free: 1.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1285, allocations: 0 / 0.5599 GB, free: 1.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1285, allocations: 0 / 0.5599 GB, free: 1.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.485e-06/0.1285, allocations: 3.984 kB / 0.5599 GB, free: 1.953 MB / 414.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.0005647/0.1291, allocations: 414.7 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1291, allocations: 12.03 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1292, allocations: 16.84 kB / 0.5603 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1294, allocations: 210.4 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1295, allocations: 384 / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1295, allocations: 8.109 kB / 0.5606 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1296, allocations: 61.61 kB / 0.5606 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1296, allocations: 0 / 0.5606 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1296, allocations: 0 / 0.5606 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1296, allocations: 3.984 kB / 0.5606 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.1297, allocations: 23.98 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.1301, allocations: 288.9 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1303, allocations: 50.62 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.1303, allocations: 20.84 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1304, allocations: 4 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.1305, allocations: 67.39 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1305, allocations: 0 / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.131, allocations: 177.3 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1311, allocations: 51.41 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1313, allocations: 185.7 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1313, allocations: 29.64 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.1314, allocations: 108.1 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1314, allocations: 23.84 kB / 0.5616 GB, free: 32 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1314, allocations: 17.72 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1316, allocations: 326.8 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.1317, allocations: 27.92 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.1317, allocations: 34.08 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1319, allocations: 65.64 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1319, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.1321, allocations: 109.5 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1321, allocations: 4 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1321, allocations: 4 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1321, allocations: 0 / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.1322, allocations: 15.98 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1322, allocations: 0 / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1323, allocations: 7.938 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1323, allocations: 12.03 kB / 0.5622 GB, free: 15.39 MB / 430.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.0001074/0.1324, allocations: 127.9 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1324, allocations: 7.953 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.1325, allocations: 13.56 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1325, allocations: 3.984 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1325, allocations: 4 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1325, allocations: 3.938 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.1329, allocations: 399.3 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.133, allocations: 0 / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.133, allocations: 8 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.133, allocations: 4 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.133, allocations: 11.92 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.133, allocations: 0 / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.133, allocations: 0 / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1333, allocations: 200.3 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1333, allocations: 89.02 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1334, allocations: 11.94 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1334, allocations: 0 / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1335, allocations: 7.984 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1335, allocations: 4 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1336, allocations: 142 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1336, allocations: 0 / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1339, allocations: 27.88 kB / 0.5632 GB, free: 14.23 MB / 430.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.001745/0.1356, allocations: 464.1 kB / 0.5637 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1358, allocations: 55.91 kB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1358, allocations: 4.062 kB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.1359, allocations: 27.92 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1363, allocations: 32.53 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.1367, allocations: 252.8 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1371, allocations: 0.7041 MB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.1371, allocations: 19.5 kB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1371, allocations: 0 / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of Templates: time 0.004017/0.1412, allocations: 1.941 MB / 0.5666 GB, free: 10.87 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.909451983985491]