Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001315/0.001315, allocations: 115.9 kB / 19.13 MB, free: 3.922 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.00135/0.001351, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.551/1.551, allocations: 227.4 MB / 252.3 MB, free: 60 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.2585/0.2585, allocations: 46.16 MB / 351.8 MB, free: 14.26 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 83.05 kB / 491 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1424, allocations: 62.45 MB / 0.5404 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003696/0.1461, allocations: 1.727 MB / 0.5421 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.148, allocations: 1.02 MB / 0.5431 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.1481, allocations: 0 / 0.5431 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1484, allocations: 55.7 kB / 0.5432 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1488, allocations: 91.59 kB / 0.5433 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.149, allocations: 83.66 kB / 0.5433 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1492, allocations: 103.7 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1493, allocations: 12 kB / 0.5435 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.1494, allocations: 51.77 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.1495, allocations: 31.8 kB / 0.5435 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1495, allocations: 4 kB / 0.5435 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1496, allocations: 47.97 kB / 0.5436 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.1497, allocations: 19.92 kB / 0.5436 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.1498, allocations: 43.67 kB / 0.5436 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.15, allocations: 127.4 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.15, allocations: 3.938 kB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.15, allocations: 0 / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1501, allocations: 0 / 0.5438 GB, free: 0.6914 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.0006365/0.1507, allocations: 438.6 kB / 0.5442 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1507, allocations: 12.03 kB / 0.5442 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.1508, allocations: 12.83 kB / 0.5442 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1511, allocations: 220.9 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1512, allocations: 384 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1512, allocations: 12.36 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1514, allocations: 53.98 kB / 0.5445 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1514, allocations: 3.938 kB / 0.5445 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1514, allocations: 8 kB / 0.5445 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1514, allocations: 0 / 0.5445 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1515, allocations: 19.98 kB / 0.5445 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1519, allocations: 292.8 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1521, allocations: 58.67 kB / 0.5448 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.1522, allocations: 24.8 kB / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1522, allocations: 0 / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1524, allocations: 75.38 kB / 0.5449 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1524, allocations: 3.938 kB / 0.5449 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.1529, allocations: 177.3 kB / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.153, allocations: 59.41 kB / 0.5452 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1533, allocations: 238.1 kB / 0.5454 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1533, allocations: 29.7 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.1534, allocations: 112.1 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1534, allocations: 23.8 kB / 0.5456 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1535, allocations: 21.7 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1536, allocations: 330.8 kB / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.1537, allocations: 20 kB / 0.5459 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.1537, allocations: 37.7 kB / 0.5459 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1539, allocations: 61.64 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1539, allocations: 0 / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1541, allocations: 113.5 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1541, allocations: 6.031 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1541, allocations: 0 / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1541, allocations: 4 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.1542, allocations: 12 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1542, allocations: 4.031 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.1543, allocations: 7.984 kB / 0.5461 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1543, allocations: 0 / 0.5461 GB, free: 14.01 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.0001139/0.1544, allocations: 131.5 kB / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1545, allocations: 20.08 kB / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1545, allocations: 21.34 kB / 0.5463 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1545, allocations: 3.938 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1545, allocations: 0 / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1545, allocations: 0 / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.155, allocations: 411.4 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.155, allocations: 0 / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1551, allocations: 8 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1551, allocations: 0 / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1551, allocations: 3.984 kB / 0.5467 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1551, allocations: 7.938 kB / 0.5467 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1551, allocations: 384 / 0.5467 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1554, allocations: 212.2 kB / 0.5469 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1554, allocations: 89.02 kB / 0.547 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1555, allocations: 4 kB / 0.547 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1555, allocations: 11.92 kB / 0.547 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1556, allocations: 11.94 kB / 0.547 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1556, allocations: 4 kB / 0.547 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1558, allocations: 176.4 kB / 0.5472 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1558, allocations: 4 kB / 0.5472 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.156, allocations: 19.94 kB / 0.5472 GB, free: 12.79 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.001689/0.1577, allocations: 451.7 kB / 0.5477 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1579, allocations: 59.92 kB / 0.5477 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.158, allocations: 4 kB / 0.5477 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.158, allocations: 23.98 kB / 0.5478 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1584, allocations: 34.3 kB / 0.5478 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.159, allocations: 304.7 kB / 0.5481 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1593, allocations: 0.7159 MB / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1594, allocations: 15.44 kB / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1594, allocations: 0 / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004222/0.1636, allocations: 2.041 MB / 0.5508 GB, free: 9.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.110981662059203]