Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001347/0.001347, allocations: 114.9 kB / 18.44 MB, free: 4.691 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.002251/0.002251, allocations: 214.6 kB / 21.4 MB, free: 1.738 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.593/1.593, allocations: 227.4 MB / 251.6 MB, free: 56 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.2259/0.2259, allocations: 46.17 MB / 351.1 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 87.59 kB / 490.3 MB, free: 27.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1465, allocations: 62.45 MB / 0.5397 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003464/0.1501, allocations: 1.688 MB / 0.5414 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.152, allocations: 1.003 MB / 0.5424 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.1521, allocations: 0 / 0.5424 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1524, allocations: 71.7 kB / 0.5424 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.1528, allocations: 99.59 kB / 0.5425 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.153, allocations: 75.67 kB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1532, allocations: 107.7 kB / 0.5427 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.1532, allocations: 8.234 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.006e-05/0.1533, allocations: 47.77 kB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1535, allocations: 47.77 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1535, allocations: 4 kB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.1536, allocations: 35.94 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.1536, allocations: 19.92 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1537, allocations: 35.78 kB / 0.5429 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1539, allocations: 103.5 kB / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1539, allocations: 0 / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.154, allocations: 3.938 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.154, allocations: 0 / 0.543 GB, free: 0.8125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005735/0.1545, allocations: 410.7 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1546, allocations: 12.03 kB / 0.5434 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1546, allocations: 12.84 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.155, allocations: 216.8 kB / 0.5436 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.155, allocations: 4.375 kB / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.155, allocations: 4.375 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1552, allocations: 49.98 kB / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1552, allocations: 0 / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1552, allocations: 0 / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1552, allocations: 0 / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.1553, allocations: 15.98 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1556, allocations: 185.6 kB / 0.5439 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1558, allocations: 58.56 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.1558, allocations: 20.84 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1559, allocations: 0 / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.156, allocations: 67.33 kB / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.156, allocations: 0 / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000292/0.1563, allocations: 101.6 kB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1564, allocations: 51.41 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1566, allocations: 199.5 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1566, allocations: 25.7 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1567, allocations: 104.1 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1567, allocations: 11.91 kB / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1568, allocations: 21.7 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1569, allocations: 322.8 kB / 0.5448 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.157, allocations: 16 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.1571, allocations: 33.69 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1572, allocations: 49.89 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1572, allocations: 7.938 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/0.1574, allocations: 81.53 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1574, allocations: 8 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1574, allocations: 4.031 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1574, allocations: 0 / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.1575, allocations: 15.92 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1575, allocations: 0 / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.1576, allocations: 4 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1576, allocations: 7.984 kB / 0.545 GB, free: 14.5 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 (7): * Single equations (assignments): 7 * 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.0001057/0.1577, allocations: 125.8 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1577, allocations: 11.89 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.1578, allocations: 13 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1578, allocations: 7.938 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1578, allocations: 0 / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1578, allocations: 4 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.158, allocations: 189.6 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.158, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.158, allocations: 3.938 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.158, allocations: 4 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.158, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.158, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.158, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1582, allocations: 109 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1583, allocations: 96.94 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1583, allocations: 3.984 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.1584, allocations: 4 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1584, allocations: 0 / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1584, allocations: 8.125 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1586, allocations: 152.2 kB / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1586, allocations: 4 kB / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1588, allocations: 19.98 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001479/0.1603, allocations: 397.2 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1605, allocations: 39.92 kB / 0.5462 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1605, allocations: 0 / 0.5462 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.1605, allocations: 20 kB / 0.5462 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1608, allocations: 26.97 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.1613, allocations: 210.1 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1616, allocations: 0.7041 MB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.1617, allocations: 24.39 kB / 0.5471 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1618, allocations: 19.38 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1618, allocations: 0 / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004646/0.1664, allocations: 1.506 MB / 0.5486 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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: 5.100876642391086]