Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001691/0.001691, 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.002092/0.002092, 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.702/1.702, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2241/0.2241, allocations: 46.92 MB / 357.8 MB, free: 10.35 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.91 kB / 0.4922 GB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 65.99 MB / 0.5566 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003537/0.1328, allocations: 1.741 MB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1354, allocations: 1.641 MB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.1354, allocations: 0 / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1357, allocations: 35.77 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1361, allocations: 103.5 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1363, allocations: 83.66 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1365, allocations: 103.7 kB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.1366, allocations: 15.98 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1367, allocations: 47.72 kB / 0.5603 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1369, allocations: 43.83 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1369, allocations: 4 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1371, allocations: 115.9 kB / 0.5604 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.1372, allocations: 19.92 kB / 0.5604 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.1372, allocations: 31.75 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1375, allocations: 171.4 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1375, allocations: 0 / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1375, allocations: 0 / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1376, allocations: 0 / 0.5606 GB, free: 1.117 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.0006557/0.1382, allocations: 434.6 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1382, allocations: 12.03 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.1383, allocations: 24.78 kB / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1386, allocations: 206.1 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1387, allocations: 7.938 kB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1387, allocations: 0 / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1389, allocations: 67.39 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1389, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1389, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1389, allocations: 4 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.139, allocations: 23.92 kB / 0.5614 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1394, allocations: 288.9 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1396, allocations: 54.67 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1397, allocations: 16.86 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.1397, allocations: 0 / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.1399, allocations: 75.33 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1399, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005915/0.1404, allocations: 177.5 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.1405, allocations: 88.98 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1407, allocations: 165.5 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1407, allocations: 25.7 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.1408, allocations: 104.1 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1408, allocations: 31.73 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1409, allocations: 21.72 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.141, allocations: 322.8 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.1411, allocations: 24.17 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.1412, allocations: 42.56 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1413, allocations: 65.69 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1413, allocations: 0 / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.1415, allocations: 109.6 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1415, allocations: 8 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1415, allocations: 0 / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1416, allocations: 0 / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.1417, allocations: 12 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1417, allocations: 11.92 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.1417, allocations: 4 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1417, allocations: 11.97 kB / 0.563 GB, free: 14.48 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.0001183/0.1418, allocations: 116 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1419, allocations: 11.95 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.1419, allocations: 16.7 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1419, allocations: 0 / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1419, allocations: 3.938 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.142, allocations: 0 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.1425, allocations: 399.3 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1425, allocations: 4 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.1425, allocations: 15.88 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1425, allocations: 0 / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1425, allocations: 3.984 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1425, allocations: 0 / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.1425, allocations: 4 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1428, allocations: 204.4 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1428, allocations: 85 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1429, allocations: 4 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1429, allocations: 7.984 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.143, allocations: 4.188 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.143, allocations: 7.938 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1431, allocations: 131.2 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.1435, allocations: 43.88 kB / 0.564 GB, free: 13.33 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.002025/0.1455, allocations: 0.5504 MB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1457, allocations: 55.91 kB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1457, allocations: 0 / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.1458, allocations: 28.05 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.0003706/0.1462, allocations: 33.48 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.0005366/0.1467, allocations: 232.5 kB / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1471, allocations: 0.6963 MB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.1472, allocations: 31.48 kB / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1472, allocations: 0 / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of Templates: time 0.005259/0.1524, allocations: 2.413 MB / 0.5679 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.167054940975504]