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.002241/0.002241, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.002936/0.002935, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.555/1.555, allocations: 227.4 MB / 251.7 MB, free: 60 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.2473/0.2473, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.002193/0.002193, allocations: 77.11 kB / 490.2 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1292, allocations: 62.45 MB / 0.5397 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003823/0.1331, allocations: 1.926 MB / 0.5415 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1352, allocations: 1.176 MB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1354, allocations: 4 kB / 0.5427 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.136, allocations: 183.4 kB / 0.5429 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.1365, allocations: 171.3 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.1369, allocations: 163.6 kB / 0.5432 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.1373, allocations: 287.3 kB / 0.5435 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1374, allocations: 37.66 kB / 0.5435 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1376, allocations: 111.6 kB / 0.5436 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1378, allocations: 119.5 kB / 0.5437 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.1378, allocations: 16 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.138, allocations: 67.95 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1382, allocations: 63.91 kB / 0.5439 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1383, allocations: 107.4 kB / 0.544 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.1388, allocations: 286.8 kB / 0.5442 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1388, allocations: 3.938 kB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1388, allocations: 0 / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.1388, allocations: 4 kB / 0.5442 GB, free: 15.55 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.001074/0.1399, allocations: 0.6764 MB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1399, allocations: 9.109 kB / 0.5449 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.14, allocations: 28.8 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1404, allocations: 283.8 kB / 0.5452 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1405, allocations: 89.67 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1405, allocations: 16.38 kB / 0.5453 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1409, allocations: 169 kB / 0.5455 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1409, allocations: 0 / 0.5455 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.141, allocations: 4 kB / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.141, allocations: 4 kB / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.1412, allocations: 95.86 kB / 0.5456 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.1421, allocations: 0.6063 MB / 0.5462 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1425, allocations: 179.9 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1427, allocations: 94.48 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1427, allocations: 0 / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/0.1433, allocations: 435 kB / 0.5468 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.1433, allocations: 0 / 0.5468 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009024/0.1442, allocations: 442.5 kB / 0.5473 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.1444, allocations: 225.5 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.1448, allocations: 330.5 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1448, allocations: 37.7 kB / 0.5478 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1449, allocations: 124.7 kB / 0.5479 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.145, allocations: 59.58 kB / 0.548 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.1451, allocations: 49.7 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1453, allocations: 338.8 kB / 0.5484 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1455, allocations: 55.97 kB / 0.5484 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1457, allocations: 146.2 kB / 0.5486 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.1462, allocations: 363 kB / 0.5489 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1462, allocations: 0 / 0.5489 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005666/0.1467, allocations: 350.3 kB / 0.5492 GB, free: 9.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.1468, allocations: 97.09 kB / 0.5493 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1469, allocations: 7.938 kB / 0.5493 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1469, allocations: 192 / 0.5493 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.147, allocations: 23.92 kB / 0.5494 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.147, allocations: 4 kB / 0.5494 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1471, allocations: 27.88 kB / 0.5494 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.1472, allocations: 15.98 kB / 0.5494 GB, free: 9.68 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.0002492/0.1474, allocations: 265.7 kB / 0.5497 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1475, allocations: 31.86 kB / 0.5497 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.1476, allocations: 29.64 kB / 0.5497 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1476, allocations: 0 / 0.5497 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1476, allocations: 4 kB / 0.5497 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1476, allocations: 3.984 kB / 0.5497 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.1479, allocations: 293.4 kB / 0.55 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1479, allocations: 0 / 0.55 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.1479, allocations: 11.94 kB / 0.55 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.148, allocations: 0 / 0.55 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.148, allocations: 19.88 kB / 0.55 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.148, allocations: 4 kB / 0.55 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.148, allocations: 0 / 0.55 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.1487, allocations: 443.5 kB / 0.5505 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.1488, allocations: 104.9 kB / 0.5506 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.1489, allocations: 15.94 kB / 0.5506 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.149, allocations: 15.98 kB / 0.5506 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.1491, allocations: 31.89 kB / 0.5506 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1491, allocations: 12 kB / 0.5506 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.1494, allocations: 241.9 kB / 0.5509 GB, free: 8.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 0 / 0.5509 GB, free: 8.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1497, allocations: 71.89 kB / 0.5509 GB, free: 7.965 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.001549/0.1513, allocations: 418.5 kB / 0.5513 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.1519, allocations: 393.9 kB / 0.5517 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1519, allocations: 0 / 0.5517 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.1523, allocations: 350.5 kB / 0.5521 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1527, allocations: 64.05 kB / 0.5521 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.1536, allocations: 449 kB / 0.5525 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.154, allocations: 0.7596 MB / 0.5533 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.498e-05/0.1541, allocations: 33.5 kB / 0.5533 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.1542, allocations: 19.44 kB / 0.5533 GB, free: 5.523 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1542, allocations: 0 / 0.5533 GB, free: 5.523 MB / 414.1 MB Notification: Performance of Templates: time 0.00831/0.1625, allocations: 3.503 MB / 0.5568 GB, free: 2.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.346840359270573]