Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001419/0.001419, allocations: 115 kB / 18.46 MB, free: 4.621 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.001503/0.001503, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.528/1.528, allocations: 230.6 MB / 254.8 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.2278/0.2278, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.89 kB / 0.4922 GB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1216, allocations: 66 MB / 0.5566 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003941/0.1255, allocations: 1.92 MB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1278, allocations: 1.134 MB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1279, allocations: 7.938 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.1285, allocations: 255.3 kB / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.1291, allocations: 239.2 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1295, allocations: 111.6 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.1299, allocations: 275.2 kB / 0.5605 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.13, allocations: 21.66 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.1303, allocations: 143.5 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1306, allocations: 215.3 kB / 0.5608 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1306, allocations: 8 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1308, allocations: 63.92 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1309, allocations: 67.75 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.131, allocations: 91.23 kB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1314, allocations: 254.7 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1314, allocations: 3.984 kB / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1314, allocations: 0 / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1314, allocations: 0 / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008944/0.1323, allocations: 0.6027 MB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1324, allocations: 8.031 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.1325, allocations: 32.75 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.1329, allocations: 298.6 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1329, allocations: 4.375 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.133, allocations: 12.12 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1332, allocations: 113.3 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1332, allocations: 8 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1332, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1332, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1334, allocations: 47.91 kB / 0.5624 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.134, allocations: 480.7 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.1344, allocations: 121.2 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1345, allocations: 37.83 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1345, allocations: 4.156 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1347, allocations: 136.9 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1347, allocations: 0 / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001343/0.1361, allocations: 0.5045 MB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.1361, allocations: 81.11 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.1367, allocations: 0.4899 MB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1367, allocations: 33.7 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1368, allocations: 172.4 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.1369, allocations: 71.44 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.137, allocations: 41.7 kB / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1372, allocations: 350.8 kB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1373, allocations: 59.91 kB / 0.5649 GB, free: 12.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.1375, allocations: 101.5 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.1377, allocations: 163.5 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1377, allocations: 0 / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004393/0.1382, allocations: 229.3 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1382, allocations: 12 kB / 0.5653 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1382, allocations: 4 kB / 0.5653 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1382, allocations: 0 / 0.5653 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1384, allocations: 55.84 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1384, allocations: 4 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.1385, allocations: 8 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1385, allocations: 4 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000178/0.1387, allocations: 173.8 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1387, allocations: 43.69 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.1388, allocations: 46.89 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1388, allocations: 4 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1388, allocations: 0 / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1388, allocations: 0 / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.1398, allocations: 0.7468 MB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1398, allocations: 0 / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.1399, allocations: 27.98 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1399, allocations: 7.984 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1399, allocations: 11.94 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1399, allocations: 7.938 kB / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1399, allocations: 0 / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.1404, allocations: 425.9 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1405, allocations: 104.9 kB / 0.567 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.1405, allocations: 8 kB / 0.567 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1407, allocations: 11.98 kB / 0.567 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.1407, allocations: 27.86 kB / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1408, allocations: 15.98 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.1412, allocations: 367.1 kB / 0.5674 GB, free: 9.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1412, allocations: 0 / 0.5674 GB, free: 9.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1415, allocations: 51.94 kB / 0.5674 GB, free: 9.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00202/0.1435, allocations: 0.5234 MB / 0.5679 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.1439, allocations: 147.8 kB / 0.5681 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1439, allocations: 3.938 kB / 0.5681 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1441, allocations: 71.84 kB / 0.5681 GB, free: 9.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1446, allocations: 59.83 kB / 0.5682 GB, free: 9.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1457, allocations: 0.6465 MB / 0.5688 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1461, allocations: 0.7901 MB / 0.5696 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1462, allocations: 27.44 kB / 0.5696 GB, free: 7.621 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1462, allocations: 0 / 0.5696 GB, free: 7.621 MB / 430.1 MB Notification: Performance of Templates: time 0.006806/0.153, allocations: 3.888 MB / 0.5734 GB, free: 3.742 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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: 8.06682838598499]