Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001788/0.001788, allocations: 113.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.00223/0.00223, 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.579/1.579, allocations: 227.4 MB / 252.3 MB, free: 76 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.254/0.254, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.78 kB / 490.9 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 62.45 MB / 0.5404 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003317/0.1347, allocations: 1.825 MB / 0.5422 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.1373, allocations: 1.703 MB / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.1375, allocations: 0 / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1378, allocations: 47.64 kB / 0.5439 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.1382, allocations: 147.4 kB / 0.544 GB, free: 324 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1385, allocations: 107.6 kB / 0.5441 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1388, allocations: 203.4 kB / 0.5443 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.1388, allocations: 9.688 kB / 0.5444 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.139, allocations: 83.62 kB / 0.5444 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1392, allocations: 79.61 kB / 0.5445 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.1393, allocations: 8 kB / 0.5445 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1395, allocations: 115.9 kB / 0.5446 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.1396, allocations: 39.84 kB / 0.5447 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.1397, allocations: 71.52 kB / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.14, allocations: 231.1 kB / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.14, allocations: 0 / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.14, allocations: 0 / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.14, allocations: 0 / 0.545 GB, free: 15.38 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.0007721/0.1408, allocations: 0.498 MB / 0.5454 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1409, allocations: 12.03 kB / 0.5455 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.1409, allocations: 16.84 kB / 0.5455 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.1413, allocations: 261 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1414, allocations: 4.375 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1414, allocations: 4.375 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1416, allocations: 105.3 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1416, allocations: 0 / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1416, allocations: 0 / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1417, allocations: 4 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1418, allocations: 31.92 kB / 0.5459 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.142, allocations: 214.5 kB / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1423, allocations: 109.2 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.1424, allocations: 41.69 kB / 0.5462 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1425, allocations: 4 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.1427, allocations: 113 kB / 0.5463 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1427, allocations: 4 kB / 0.5463 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004761/0.1432, allocations: 165.4 kB / 0.5465 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1433, allocations: 136.5 kB / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1436, allocations: 233 kB / 0.5468 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1436, allocations: 29.7 kB / 0.5469 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.1437, allocations: 124 kB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1437, allocations: 35.75 kB / 0.547 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1438, allocations: 29.7 kB / 0.547 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.144, allocations: 326.8 kB / 0.5474 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.144, allocations: 27.98 kB / 0.5474 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1442, allocations: 71.5 kB / 0.5474 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1444, allocations: 95.89 kB / 0.5475 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1444, allocations: 0 / 0.5475 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002826/0.1447, allocations: 145.4 kB / 0.5477 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1447, allocations: 8 kB / 0.5477 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1447, allocations: 0 / 0.5477 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1447, allocations: 0 / 0.5477 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1448, allocations: 23.98 kB / 0.5477 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1449, allocations: 4.062 kB / 0.5477 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1449, allocations: 7.953 kB / 0.5477 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.145, allocations: 4 kB / 0.5477 GB, free: 12.24 MB / 414.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.0001318/0.1451, allocations: 141.7 kB / 0.5479 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.1451, allocations: 19.84 kB / 0.5479 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.1452, allocations: 20.98 kB / 0.5479 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1452, allocations: 3.984 kB / 0.5479 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1452, allocations: 4 kB / 0.5479 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1452, allocations: 4 kB / 0.5479 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1454, allocations: 221.5 kB / 0.5481 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1455, allocations: 4 kB / 0.5481 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1455, allocations: 11.92 kB / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1455, allocations: 3.938 kB / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1455, allocations: 4 kB / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1455, allocations: 0 / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1455, allocations: 0 / 0.5481 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1459, allocations: 169.8 kB / 0.5483 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.146, allocations: 100.9 kB / 0.5484 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.146, allocations: 4.125 kB / 0.5484 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1461, allocations: 11.98 kB / 0.5484 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1461, allocations: 8 kB / 0.5484 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1462, allocations: 11.92 kB / 0.5484 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1463, allocations: 177.6 kB / 0.5486 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1464, allocations: 3.938 kB / 0.5486 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1467, allocations: 59.86 kB / 0.5487 GB, free: 11.17 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: 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.001804/0.1485, allocations: 497.7 kB / 0.5491 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1487, allocations: 83.89 kB / 0.5492 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1487, allocations: 0 / 0.5492 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1489, allocations: 43.86 kB / 0.5493 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1492, allocations: 58.69 kB / 0.5493 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.1498, allocations: 309.5 kB / 0.5496 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1502, allocations: 0.7164 MB / 0.5503 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.1503, allocations: 35.41 kB / 0.5503 GB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1503, allocations: 0 / 0.5503 GB, free: 9.559 MB / 414.1 MB Notification: Performance of Templates: time 0.005725/0.156, allocations: 3.18 MB / 0.5535 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.44381101091858]