Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2456/0.2456, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.88 kB / 0.4924 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 65.99 MB / 0.5569 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003551/0.1389, allocations: 1.834 MB / 0.5586 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1417, allocations: 1.718 MB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.1417, allocations: 3.938 kB / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1421, allocations: 51.69 kB / 0.5604 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.1425, allocations: 139.4 kB / 0.5605 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1427, allocations: 107.6 kB / 0.5606 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.143, allocations: 199.3 kB / 0.5608 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.1431, allocations: 9.688 kB / 0.5608 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1432, allocations: 95.61 kB / 0.5609 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1435, allocations: 83.59 kB / 0.561 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1435, allocations: 12 kB / 0.561 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1437, allocations: 104 kB / 0.5611 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.1438, allocations: 43.77 kB / 0.5611 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1439, allocations: 63.59 kB / 0.5612 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1442, allocations: 227.1 kB / 0.5614 GB, free: 1.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1442, allocations: 0 / 0.5614 GB, free: 1.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1442, allocations: 3.938 kB / 0.5614 GB, free: 1.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1442, allocations: 0 / 0.5614 GB, free: 1.145 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.0007684/0.145, allocations: 0.498 MB / 0.5619 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.145, allocations: 12.03 kB / 0.5619 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1451, allocations: 16.84 kB / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1455, allocations: 257.1 kB / 0.5622 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1455, allocations: 384 / 0.5622 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1455, allocations: 8.375 kB / 0.5622 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1458, allocations: 105.3 kB / 0.5623 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1458, allocations: 11.98 kB / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1458, allocations: 0 / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1458, allocations: 0 / 0.5623 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1459, allocations: 35.91 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1462, allocations: 214.5 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1465, allocations: 101.2 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.1466, allocations: 33.7 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1466, allocations: 7.875 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1468, allocations: 113 kB / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1468, allocations: 0 / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004779/0.1473, allocations: 173.9 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.1474, allocations: 128.5 kB / 0.5631 GB, free: 15.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.1477, allocations: 241 kB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1477, allocations: 25.7 kB / 0.5633 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.1478, allocations: 120.1 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.1478, allocations: 39.72 kB / 0.5635 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1479, allocations: 29.72 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1481, allocations: 334.8 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.1481, allocations: 32.05 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1483, allocations: 65.14 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1484, allocations: 95.38 kB / 0.564 GB, free: 14.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1484, allocations: 0 / 0.564 GB, free: 14.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002787/0.1487, allocations: 133.5 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1487, allocations: 4 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1487, allocations: 0 / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1488, allocations: 8.062 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1489, allocations: 23.92 kB / 0.5642 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.1489, allocations: 4 kB / 0.5642 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.149, allocations: 19.88 kB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.149, allocations: 4 kB / 0.5642 GB, free: 13.99 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001377/0.1491, allocations: 125.8 kB / 0.5643 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.1492, allocations: 19.84 kB / 0.5643 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.1492, allocations: 20.98 kB / 0.5644 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1492, allocations: 4 kB / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1492, allocations: 0 / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1492, allocations: 3.938 kB / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1495, allocations: 229.6 kB / 0.5646 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1495, allocations: 4 kB / 0.5646 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.1495, allocations: 15.88 kB / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1495, allocations: 0 / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1495, allocations: 0 / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.1495, allocations: 4 kB / 0.5646 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1495, allocations: 3.984 kB / 0.5646 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.1499, allocations: 173.7 kB / 0.5648 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1499, allocations: 92.95 kB / 0.5649 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.15, allocations: 11.98 kB / 0.5649 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.15, allocations: 4 kB / 0.5649 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1501, allocations: 11.97 kB / 0.5649 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1501, allocations: 4 kB / 0.5649 GB, free: 13.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1503, allocations: 185.6 kB / 0.5651 GB, free: 13 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1503, allocations: 0 / 0.5651 GB, free: 13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1506, allocations: 55.86 kB / 0.5651 GB, free: 12.94 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001753/0.1524, allocations: 0.4948 MB / 0.5656 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1526, allocations: 79.84 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1526, allocations: 3.938 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1527, allocations: 35.97 kB / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1531, allocations: 60.02 kB / 0.5658 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.1538, allocations: 317.2 kB / 0.5661 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1541, allocations: 0.7203 MB / 0.5668 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1542, allocations: 31.42 kB / 0.5668 GB, free: 11.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1542, allocations: 0 / 0.5668 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Templates: time 0.005868/0.1601, allocations: 3.184 MB / 0.5699 GB, free: 8.148 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.288725244114175]