Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001355/0.001355, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001563/0.001563, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.472/1.472, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2413/0.2413, allocations: 46.93 MB / 357.1 MB, free: 10.31 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.91 kB / 0.491 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 65.99 MB / 0.5555 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003231/0.1314, allocations: 1.743 MB / 0.5572 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.1342, allocations: 1.645 MB / 0.5588 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.1343, allocations: 4 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1346, allocations: 31.77 kB / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.135, allocations: 103.5 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1353, allocations: 71.75 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1355, allocations: 115.6 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1356, allocations: 11.98 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1357, allocations: 43.8 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1359, allocations: 43.77 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1359, allocations: 12 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1361, allocations: 107.9 kB / 0.5593 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1362, allocations: 19.98 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.1362, allocations: 43.66 kB / 0.5593 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1365, allocations: 171.4 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1366, allocations: 4 kB / 0.5595 GB, free: 1.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1366, allocations: 0 / 0.5595 GB, free: 1.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1366, allocations: 0 / 0.5595 GB, free: 1.586 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.0006507/0.1372, allocations: 426.6 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1373, allocations: 12.03 kB / 0.5599 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.1373, allocations: 38.73 kB / 0.56 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1373, allocations: 12.84 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1377, allocations: 216.4 kB / 0.5602 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1377, allocations: 4 kB / 0.5602 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1377, allocations: 3.984 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1379, allocations: 67.39 kB / 0.5603 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1379, allocations: 0 / 0.5603 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1379, allocations: 8 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1379, allocations: 0 / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.138, allocations: 19.98 kB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1384, allocations: 292.8 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1386, allocations: 46.69 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1386, allocations: 24.84 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1387, allocations: 7.984 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1388, allocations: 71.33 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1388, allocations: 0 / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.1394, allocations: 173.4 kB / 0.5609 GB, free: 4 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.1395, allocations: 89.19 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1397, allocations: 165.5 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1397, allocations: 29.7 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1398, allocations: 96.12 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1398, allocations: 27.75 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1398, allocations: 29.7 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.14, allocations: 322.8 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1401, allocations: 12 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.1401, allocations: 50.56 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1403, allocations: 57.64 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1403, allocations: 4 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.1405, allocations: 101.6 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1405, allocations: 4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1405, allocations: 0 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1405, allocations: 8.312 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.1406, allocations: 20 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.1406, allocations: 3.938 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.1407, allocations: 11.98 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1407, allocations: 4 kB / 0.5619 GB, free: 14.91 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.000107/0.1408, allocations: 122.3 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1408, allocations: 7.953 kB / 0.562 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1409, allocations: 16.7 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1409, allocations: 4 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1409, allocations: 3.938 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1409, allocations: 4 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.1414, allocations: 395.3 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1414, allocations: 0 / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1414, allocations: 11.94 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1414, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1414, allocations: 8.172 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1414, allocations: 3.938 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1414, allocations: 3.938 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1417, allocations: 200.4 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1417, allocations: 89 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1418, allocations: 4 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.1418, allocations: 7.984 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.1419, allocations: 4 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1419, allocations: 4 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.142, allocations: 127.2 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.142, allocations: 0 / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1423, allocations: 51.86 kB / 0.5629 GB, free: 13.76 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.002436/0.1448, allocations: 1.189 MB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.145, allocations: 55.91 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.145, allocations: 0 / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.145, allocations: 31.92 kB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1454, allocations: 27.59 kB / 0.5642 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1474, allocations: 1.589 MB / 0.5657 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1478, allocations: 0.705 MB / 0.5664 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.1479, allocations: 20.88 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.148, allocations: 39.41 kB / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.148, allocations: 0 / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.1763, allocations: 4.051 MB / 0.5704 GB, free: 6.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.423, allocations: 12 kB / 0.5704 GB, free: 6.129 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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: 11.454170417040586]