Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001512/0.001512, 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.001703/0.001703, 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2331/0.2331, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.89 kB / 0.4922 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003232/0.1277, allocations: 1.76 MB / 0.5583 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1296, allocations: 1.033 MB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.1296, allocations: 3.938 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.13, allocations: 111.7 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1303, allocations: 123.5 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1305, allocations: 83.66 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1307, allocations: 123.7 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.1308, allocations: 11.92 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1309, allocations: 63.69 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.131, allocations: 79.73 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.131, allocations: 4 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1312, allocations: 63.97 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.1312, allocations: 23.91 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.1313, allocations: 39.69 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1315, allocations: 155.3 kB / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1315, allocations: 0 / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1315, allocations: 0 / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1315, allocations: 0 / 0.5602 GB, free: 1.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006704/0.1322, allocations: 454.4 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1322, allocations: 16.02 kB / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1323, allocations: 16.84 kB / 0.5607 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1326, allocations: 215.9 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1326, allocations: 4.375 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.1326, allocations: 12.08 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1328, allocations: 61.61 kB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1328, allocations: 0 / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1328, allocations: 0 / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1328, allocations: 0 / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.1329, allocations: 35.91 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1333, allocations: 304.8 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1336, allocations: 62.47 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.1336, allocations: 16.98 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1336, allocations: 8 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.1338, allocations: 67.38 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1338, allocations: 0 / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007953/0.1346, allocations: 254 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1346, allocations: 59.28 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1349, allocations: 251.2 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1349, allocations: 29.7 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.135, allocations: 112.1 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.135, allocations: 43.69 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1351, allocations: 21.72 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1352, allocations: 330.8 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.1353, allocations: 31.98 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.1354, allocations: 41.7 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1356, allocations: 85.64 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1356, allocations: 0 / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002448/0.1358, allocations: 125.6 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1358, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1358, allocations: 8 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1358, allocations: 0 / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.1359, allocations: 23.94 kB / 0.5628 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1359, allocations: 7.922 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.136, allocations: 16.02 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.136, allocations: 0 / 0.5628 GB, free: 14.68 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 (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.0001282/0.1361, allocations: 137.8 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1362, allocations: 15.91 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.1362, allocations: 21.41 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1362, allocations: 0 / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1362, allocations: 3.938 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1362, allocations: 3.984 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.1368, allocations: 471.8 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1368, allocations: 4 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.1369, allocations: 12 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1369, allocations: 0 / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1369, allocations: 4 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1369, allocations: 3.938 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1369, allocations: 3.984 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1372, allocations: 237.2 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1373, allocations: 93.02 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1373, allocations: 0 / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.1374, allocations: 7.984 kB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1374, allocations: 8 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1374, allocations: 11.98 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1376, allocations: 192.4 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1379, allocations: 31.94 kB / 0.564 GB, free: 13.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.001945/0.1398, allocations: 0.5022 MB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.14, allocations: 75.91 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.14, allocations: 0 / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.1401, allocations: 43.98 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1405, allocations: 32.64 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.1411, allocations: 342.2 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1415, allocations: 0.7197 MB / 0.5657 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1415, allocations: 23.5 kB / 0.5657 GB, free: 11.74 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1415, allocations: 0 / 0.5657 GB, free: 11.74 MB / 430.1 MB Notification: Performance of Templates: time 0.004499/0.146, allocations: 2.326 MB / 0.568 GB, free: 9.426 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.675705971021671]