Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001303/0.001303, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.00146/0.00146, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.466/1.466, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2663/0.2663, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 83.45 kB / 491 MB, free: 27.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1536, allocations: 62.45 MB / 0.5404 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003424/0.1571, allocations: 1.725 MB / 0.5421 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.159, allocations: 1.028 MB / 0.5431 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.1591, allocations: 0 / 0.5431 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1594, allocations: 59.75 kB / 0.5432 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1598, allocations: 99.53 kB / 0.5433 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1601, allocations: 75.67 kB / 0.5433 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1603, allocations: 107.7 kB / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1605, allocations: 15.94 kB / 0.5435 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.1606, allocations: 39.84 kB / 0.5435 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.1607, allocations: 35.78 kB / 0.5435 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1607, allocations: 4 kB / 0.5435 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1608, allocations: 43.98 kB / 0.5436 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.1609, allocations: 27.86 kB / 0.5436 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.161, allocations: 47.61 kB / 0.5437 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1612, allocations: 135.4 kB / 0.5438 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1612, allocations: 0 / 0.5438 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1612, allocations: 7.984 kB / 0.5438 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1613, allocations: 0 / 0.5438 GB, free: 0.6055 MB / 398.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.000672/0.1619, allocations: 454.4 kB / 0.5442 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.162, allocations: 8.031 kB / 0.5442 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.162, allocations: 16.84 kB / 0.5442 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1624, allocations: 228.9 kB / 0.5445 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1625, allocations: 4.375 kB / 0.5445 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1625, allocations: 384 / 0.5445 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1627, allocations: 65.98 kB / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1627, allocations: 0 / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1627, allocations: 3.984 kB / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1627, allocations: 0 / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.1628, allocations: 16 kB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1633, allocations: 296.8 kB / 0.5448 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1635, allocations: 66.61 kB / 0.5449 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.1636, allocations: 16.86 kB / 0.5449 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1636, allocations: 7.984 kB / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.1637, allocations: 63.39 kB / 0.545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.437e-06/0.1638, allocations: 3.984 kB / 0.545 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005832/0.1643, allocations: 181.4 kB / 0.5452 GB, free: 15.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1644, allocations: 59.39 kB / 0.5452 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1647, allocations: 274.8 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1647, allocations: 25.7 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1648, allocations: 116.1 kB / 0.5456 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1649, allocations: 23.84 kB / 0.5456 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.1649, allocations: 25.64 kB / 0.5457 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1651, allocations: 334.8 kB / 0.546 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.1651, allocations: 16.17 kB / 0.546 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.1652, allocations: 45.7 kB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1653, allocations: 57.7 kB / 0.5461 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1653, allocations: 0 / 0.5461 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.1655, allocations: 105.5 kB / 0.5462 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1656, allocations: 4 kB / 0.5462 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1656, allocations: 4 kB / 0.5462 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1656, allocations: 4.031 kB / 0.5462 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.1657, allocations: 19.98 kB / 0.5462 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1657, allocations: 3.938 kB / 0.5462 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.1658, allocations: 4 kB / 0.5462 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1658, allocations: 4.188 kB / 0.5462 GB, free: 13.86 MB / 414.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.0001332/0.1659, allocations: 138.3 kB / 0.5464 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.166, allocations: 19.78 kB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.166, allocations: 21.39 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.166, allocations: 4 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1661, allocations: 4 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1661, allocations: 0 / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.1666, allocations: 415.3 kB / 0.5468 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1666, allocations: 0 / 0.5468 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.1666, allocations: 8 kB / 0.5468 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1666, allocations: 3.984 kB / 0.5468 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1667, allocations: 4 kB / 0.5468 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1667, allocations: 3.938 kB / 0.5468 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1667, allocations: 4.031 kB / 0.5468 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1669, allocations: 208.2 kB / 0.547 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.167, allocations: 89.02 kB / 0.5471 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.167, allocations: 4 kB / 0.5471 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.1671, allocations: 11.92 kB / 0.5471 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1672, allocations: 0 / 0.5471 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1672, allocations: 8 kB / 0.5471 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.1674, allocations: 208.6 kB / 0.5473 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1674, allocations: 0 / 0.5473 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1677, allocations: 20 kB / 0.5474 GB, free: 12.6 MB / 414.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.001775/0.1695, allocations: 468.2 kB / 0.5478 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1697, allocations: 67.89 kB / 0.5479 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1697, allocations: 0 / 0.5479 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1698, allocations: 27.92 kB / 0.5479 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1702, allocations: 26.61 kB / 0.5479 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.1708, allocations: 325.4 kB / 0.5482 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1711, allocations: 0.7196 MB / 0.5489 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.1712, allocations: 15.44 kB / 0.549 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1712, allocations: 0 / 0.549 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004344/0.1755, allocations: 2.131 MB / 0.551 GB, free: 8.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.901954430970363]