Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.002027/0.002027, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.002681/0.002681, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.571/1.571, allocations: 227.4 MB / 252.3 MB, free: 136 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.2323/0.2323, allocations: 46.18 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.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002278, allocations: 82.59 kB / 490.9 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003329/0.1273, allocations: 1.924 MB / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1293, allocations: 1.178 MB / 0.5434 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1294, allocations: 4 kB / 0.5434 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.1301, allocations: 182 kB / 0.5435 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.1305, allocations: 171.3 kB / 0.5437 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.131, allocations: 171.5 kB / 0.5439 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1313, allocations: 283.3 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1314, allocations: 33.66 kB / 0.5442 GB, free: 340 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1316, allocations: 115.6 kB / 0.5443 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1318, allocations: 115.5 kB / 0.5444 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.1318, allocations: 16 kB / 0.5444 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.132, allocations: 67.97 kB / 0.5445 GB, free: 24 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1321, allocations: 59.81 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1322, allocations: 107.5 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.1326, allocations: 298.7 kB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1326, allocations: 0 / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1326, allocations: 4 kB / 0.5449 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1326, allocations: 0 / 0.5449 GB, free: 15.56 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009911/0.1336, allocations: 0.6686 MB / 0.5456 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1337, allocations: 9.109 kB / 0.5456 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1338, allocations: 32.8 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1342, allocations: 283.8 kB / 0.5459 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.682e-05/0.1343, allocations: 89.67 kB / 0.546 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1343, allocations: 16.38 kB / 0.546 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1346, allocations: 157.2 kB / 0.5461 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1347, allocations: 3.938 kB / 0.5461 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1347, allocations: 8 kB / 0.5461 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1347, allocations: 4 kB / 0.5462 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.135, allocations: 87.92 kB / 0.5462 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.1358, allocations: 0.614 MB / 0.5468 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1362, allocations: 179.9 kB / 0.547 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1363, allocations: 94.55 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1364, allocations: 7.938 kB / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.1369, allocations: 433.1 kB / 0.5475 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.864e-06/0.1369, allocations: 0 / 0.5475 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.000845/0.1377, allocations: 442.5 kB / 0.5479 GB, free: 12.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.1379, allocations: 217.5 kB / 0.5481 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1382, allocations: 334.5 kB / 0.5485 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1383, allocations: 33.7 kB / 0.5485 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1384, allocations: 132.7 kB / 0.5486 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.1384, allocations: 59.58 kB / 0.5487 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.1385, allocations: 45.7 kB / 0.5487 GB, free: 11.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1387, allocations: 342.8 kB / 0.5491 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1388, allocations: 51.97 kB / 0.5491 GB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1391, allocations: 142.3 kB / 0.5492 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.1395, allocations: 362.9 kB / 0.5496 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1395, allocations: 0 / 0.5496 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005422/0.1401, allocations: 358.2 kB / 0.5499 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.1401, allocations: 99.44 kB / 0.55 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1402, allocations: 3.938 kB / 0.55 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1402, allocations: 4 kB / 0.55 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1403, allocations: 28.3 kB / 0.5501 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1403, allocations: 4 kB / 0.5501 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1405, allocations: 24.09 kB / 0.5501 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1405, allocations: 24 kB / 0.5501 GB, free: 9.684 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002242/0.1407, allocations: 257.5 kB / 0.5504 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.1408, allocations: 27.86 kB / 0.5504 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.1408, allocations: 33.83 kB / 0.5504 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1409, allocations: 3.984 kB / 0.5504 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1409, allocations: 0 / 0.5504 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1409, allocations: 7.984 kB / 0.5504 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1412, allocations: 297.4 kB / 0.5507 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1412, allocations: 4 kB / 0.5507 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.1412, allocations: 4 kB / 0.5507 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1412, allocations: 0 / 0.5507 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1413, allocations: 11.94 kB / 0.5507 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1413, allocations: 0 / 0.5507 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1413, allocations: 7.938 kB / 0.5507 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.1419, allocations: 443.5 kB / 0.5512 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.142, allocations: 104.9 kB / 0.5513 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.1421, allocations: 15.94 kB / 0.5513 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1422, allocations: 15.98 kB / 0.5513 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.1423, allocations: 23.91 kB / 0.5513 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.1423, allocations: 16 kB / 0.5513 GB, free: 8.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.1426, allocations: 241.9 kB / 0.5516 GB, free: 8.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1426, allocations: 4 kB / 0.5516 GB, free: 8.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1429, allocations: 67.89 kB / 0.5516 GB, free: 7.98 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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * 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.001558/0.1445, allocations: 423.9 kB / 0.552 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.1452, allocations: 398.3 kB / 0.5524 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1452, allocations: 4.062 kB / 0.5524 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.1456, allocations: 338.1 kB / 0.5527 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1459, allocations: 52.39 kB / 0.5528 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.1468, allocations: 494.7 kB / 0.5533 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1472, allocations: 0.7518 MB / 0.554 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.1473, allocations: 19.44 kB / 0.554 GB, free: 5.543 MB / 414.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1473, allocations: 0 / 0.554 GB, free: 5.543 MB / 414.1 MB Notification: Performance of Templates: time 0.006146/0.1534, allocations: 3.611 MB / 0.5575 GB, free: 1.949 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.235181915923022]