Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001698/0.001698, allocations: 117.1 kB / 19.13 MB, free: 3.945 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.001962/0.001962, allocations: 214.6 kB / 22.08 MB, free: 0.9922 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.441/1.441, allocations: 227.4 MB / 252.3 MB, free: 88 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.2443/0.2443, 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 79.67 kB / 491 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1136, allocations: 62.45 MB / 0.5404 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003903/0.1175, allocations: 2.28 MB / 0.5427 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1199, allocations: 1.315 MB / 0.544 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1201, allocations: 7.938 kB / 0.544 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.1206, allocations: 123.3 kB / 0.5441 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1212, allocations: 242.9 kB / 0.5443 GB, free: 176 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.1217, allocations: 187.5 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.1223, allocations: 454.7 kB / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1225, allocations: 69 kB / 0.545 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1228, allocations: 271.1 kB / 0.5453 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1231, allocations: 159.1 kB / 0.5454 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.1231, allocations: 16 kB / 0.5454 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1233, allocations: 71.97 kB / 0.5455 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1235, allocations: 135.4 kB / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1237, allocations: 186.5 kB / 0.5458 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.1243, allocations: 445.7 kB / 0.5462 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1243, allocations: 0 / 0.5462 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1243, allocations: 4 kB / 0.5462 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1243, allocations: 0 / 0.5462 GB, free: 14.21 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001205/0.1255, allocations: 0.8358 MB / 0.547 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1256, allocations: 9.109 kB / 0.547 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1257, allocations: 68.5 kB / 0.5471 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.1263, allocations: 429 kB / 0.5475 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1264, allocations: 16.38 kB / 0.5475 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.1264, allocations: 24.31 kB / 0.5476 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.1268, allocations: 189.3 kB / 0.5477 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1268, allocations: 7.922 kB / 0.5478 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1269, allocations: 8 kB / 0.5478 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1269, allocations: 4 kB / 0.5478 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.1271, allocations: 87.94 kB / 0.5478 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.1281, allocations: 0.8055 MB / 0.5486 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.1288, allocations: 246.5 kB / 0.5489 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.129, allocations: 91.53 kB / 0.549 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.129, allocations: 7.984 kB / 0.549 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/0.1295, allocations: 204.2 kB / 0.5492 GB, free: 10.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.1295, allocations: 4 kB / 0.5492 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002525/0.132, allocations: 1.137 MB / 0.5503 GB, free: 9.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.1321, allocations: 136.5 kB / 0.5504 GB, free: 9.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.133, allocations: 0.797 MB / 0.5512 GB, free: 8.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.1331, allocations: 37.7 kB / 0.5512 GB, free: 8.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1333, allocations: 245 kB / 0.5514 GB, free: 8.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1335, allocations: 146.8 kB / 0.5516 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1336, allocations: 74.09 kB / 0.5517 GB, free: 8.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1338, allocations: 386.6 kB / 0.552 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.134, allocations: 116.8 kB / 0.5521 GB, free: 7.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1343, allocations: 183.2 kB / 0.5523 GB, free: 7.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1349, allocations: 314.7 kB / 0.5526 GB, free: 7.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1349, allocations: 0 / 0.5526 GB, free: 7.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007931/0.1357, allocations: 440.9 kB / 0.553 GB, free: 6.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.1358, allocations: 12.12 kB / 0.553 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1358, allocations: 0 / 0.553 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1358, allocations: 4 kB / 0.5531 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.1361, allocations: 87.89 kB / 0.5531 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1361, allocations: 4 kB / 0.5531 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1363, allocations: 19.98 kB / 0.5532 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1363, allocations: 23.94 kB / 0.5532 GB, free: 6.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002885/0.1366, allocations: 231.8 kB / 0.5534 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.1367, allocations: 75.53 kB / 0.5535 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.1369, allocations: 80.91 kB / 0.5536 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1369, allocations: 8 kB / 0.5536 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1369, allocations: 0 / 0.5536 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1369, allocations: 0 / 0.5536 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.1387, allocations: 1.311 MB / 0.5548 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1387, allocations: 0 / 0.5548 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1389, allocations: 63.84 kB / 0.5549 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.1389, allocations: 4 kB / 0.5549 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.139, allocations: 20.23 kB / 0.5549 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.139, allocations: 12 kB / 0.5549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.139, allocations: 0 / 0.5549 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.14, allocations: 0.797 MB / 0.5557 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.1402, allocations: 172.6 kB / 0.5559 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.1403, allocations: 16 kB / 0.5559 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1405, allocations: 19.98 kB / 0.5559 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.1406, allocations: 43.83 kB / 0.556 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.1407, allocations: 23.98 kB / 0.556 GB, free: 3.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006849/0.1414, allocations: 0.5771 MB / 0.5565 GB, free: 3.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1414, allocations: 0 / 0.5565 GB, free: 3.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005329/0.1419, allocations: 91.92 kB / 0.5566 GB, free: 3.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002034/0.144, allocations: 0.5316 MB / 0.5571 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.1447, allocations: 312.3 kB / 0.5574 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1447, allocations: 0 / 0.5574 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.1451, allocations: 172.4 kB / 0.5576 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.1461, allocations: 130.3 kB / 0.5577 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1478, allocations: 1.11 MB / 0.5588 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.1484, allocations: 0.886 MB / 0.5597 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1485, allocations: 51.42 kB / 0.5597 GB, free: 15.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1485, allocations: 0 / 0.5597 GB, free: 15.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01122/0.1598, allocations: 6.509 MB / 0.5661 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.577452095923945]