Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001814/0.001814, allocations: 111.8 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.002217/0.002217, 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.535/1.535, allocations: 227.4 MB / 252.3 MB, free: 100 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.2536/0.2536, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 91.66 kB / 491 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 62.45 MB / 0.5405 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003532/0.142, allocations: 1.743 MB / 0.5422 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1442, allocations: 1.03 MB / 0.5432 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1444, allocations: 0 / 0.5432 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1447, allocations: 51.75 kB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.1452, allocations: 103.5 kB / 0.5433 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1454, allocations: 79.67 kB / 0.5434 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1457, allocations: 127.7 kB / 0.5435 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1458, allocations: 19.98 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1459, allocations: 47.78 kB / 0.5436 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.146, allocations: 47.83 kB / 0.5436 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1461, allocations: 7.938 kB / 0.5436 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1462, allocations: 67.95 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.1463, allocations: 31.86 kB / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.1464, allocations: 35.75 kB / 0.5438 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1467, allocations: 151.3 kB / 0.5439 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1467, allocations: 7.938 kB / 0.5439 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1467, allocations: 0 / 0.5439 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1467, allocations: 3.984 kB / 0.5439 GB, free: 0.5586 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006505/0.1474, allocations: 438.5 kB / 0.5443 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1474, allocations: 12.03 kB / 0.5443 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.1475, allocations: 12.84 kB / 0.5444 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1478, allocations: 232 kB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1479, allocations: 8.375 kB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1479, allocations: 8.375 kB / 0.5446 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1481, allocations: 73.97 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1481, allocations: 0 / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1481, allocations: 3.938 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1481, allocations: 3.984 kB / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1483, allocations: 43.97 kB / 0.5447 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1487, allocations: 316.7 kB / 0.545 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1491, allocations: 94.56 kB / 0.5451 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.1492, allocations: 28.84 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1492, allocations: 7.984 kB / 0.5451 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.1494, allocations: 79.38 kB / 0.5452 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.517e-06/0.1494, allocations: 0 / 0.5452 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009376/0.1503, allocations: 309.8 kB / 0.5455 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1504, allocations: 51.41 kB / 0.5456 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1506, allocations: 198 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1506, allocations: 29.7 kB / 0.5458 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.1507, allocations: 104.4 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.1508, allocations: 47.64 kB / 0.5459 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.1508, allocations: 29.7 kB / 0.5459 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.151, allocations: 330.8 kB / 0.5463 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.1511, allocations: 35.98 kB / 0.5463 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1512, allocations: 61.62 kB / 0.5464 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1514, allocations: 95.2 kB / 0.5464 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1514, allocations: 0 / 0.5464 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002889/0.1517, allocations: 160.5 kB / 0.5466 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1517, allocations: 8.031 kB / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1517, allocations: 4 kB / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1518, allocations: 0 / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.1519, allocations: 23.98 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1519, allocations: 4 kB / 0.5466 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1519, allocations: 7.938 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.152, allocations: 4 kB / 0.5466 GB, free: 13.52 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 (15): * Single equations (assignments): 15 * 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.0001227/0.1521, allocations: 133.8 kB / 0.5468 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1521, allocations: 11.91 kB / 0.5468 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.1522, allocations: 29.52 kB / 0.5468 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1522, allocations: 4 kB / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1522, allocations: 0 / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1522, allocations: 3.938 kB / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.1528, allocations: 488 kB / 0.5473 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1529, allocations: 0 / 0.5473 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1529, allocations: 19.94 kB / 0.5473 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1529, allocations: 4 kB / 0.5473 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.153, allocations: 11.98 kB / 0.5473 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.153, allocations: 0 / 0.5473 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.153, allocations: 0 / 0.5473 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1533, allocations: 249.2 kB / 0.5476 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1534, allocations: 92.95 kB / 0.5476 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1534, allocations: 12 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1535, allocations: 8 kB / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1536, allocations: 15.92 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1536, allocations: 7.984 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1537, allocations: 144.8 kB / 0.5478 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 288 / 0.5478 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.154, allocations: 39.92 kB / 0.5479 GB, free: 12.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002022/0.1561, allocations: 0.5003 MB / 0.5484 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1563, allocations: 99.89 kB / 0.5485 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1563, allocations: 0 / 0.5485 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1565, allocations: 47.92 kB / 0.5485 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1568, allocations: 48.16 kB / 0.5485 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.1574, allocations: 318.2 kB / 0.5488 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1578, allocations: 0.7084 MB / 0.5495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.1579, allocations: 27.42 kB / 0.5496 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1579, allocations: 0 / 0.5496 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.0047/0.1626, allocations: 2.408 MB / 0.5519 GB, free: 8.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.180118591990322]