Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.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.00179/0.00179, allocations: 122 kB / 18.45 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.002182/0.002182, allocations: 202.5 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.516/1.516, allocations: 227.4 MB / 251.6 MB, free: 304 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.2475/0.2475, allocations: 46.17 MB / 351.1 MB, free: 14.33 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.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 77.95 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 62.44 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003171/0.1404, allocations: 1.715 MB / 0.5414 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004651/0.1409, allocations: 167.5 kB / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.141, allocations: 0 / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.141, allocations: 7.875 kB / 0.5415 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.1411, allocations: 19.8 kB / 0.5415 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1415, allocations: 98.86 kB / 0.5416 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1417, allocations: 103.8 kB / 0.5417 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1418, allocations: 37.36 kB / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.1419, allocations: 43.84 kB / 0.5418 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.142, allocations: 35.84 kB / 0.5418 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.1421, allocations: 11.94 kB / 0.5419 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.1421, allocations: 11.94 kB / 0.5419 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.1421, allocations: 27.91 kB / 0.5419 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1422, allocations: 35.8 kB / 0.5419 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1424, allocations: 99.5 kB / 0.542 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1424, allocations: 4 kB / 0.542 GB, free: 1.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1424, allocations: 0 / 0.542 GB, free: 1.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1424, allocations: 0 / 0.542 GB, free: 1.848 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008103/0.1432, allocations: 443 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1433, allocations: 8.031 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1433, allocations: 16.84 kB / 0.5425 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.1437, allocations: 206.2 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1437, allocations: 4.375 kB / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1437, allocations: 12.38 kB / 0.5427 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.1441, allocations: 146.4 kB / 0.5428 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1441, allocations: 192 / 0.5428 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1442, allocations: 7.938 kB / 0.5428 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1442, allocations: 8 kB / 0.5428 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1446, allocations: 103.9 kB / 0.5429 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.1453, allocations: 0.5438 MB / 0.5435 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.1458, allocations: 142.3 kB / 0.5436 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.146, allocations: 56.84 kB / 0.5437 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.146, allocations: 80 / 0.5437 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1461, allocations: 42.53 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1461, allocations: 0 / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006477/0.1467, allocations: 185.5 kB / 0.5439 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.1468, allocations: 102.8 kB / 0.544 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1469, allocations: 138.1 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.147, allocations: 25.7 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.1471, allocations: 112.1 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1471, allocations: 31.78 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1471, allocations: 33.7 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1473, allocations: 322.8 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.1475, allocations: 47.95 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1477, allocations: 88.25 kB / 0.5447 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.1481, allocations: 118.8 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1481, allocations: 0 / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004246/0.1486, allocations: 157.4 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1486, allocations: 4 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1486, allocations: 4 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1486, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1488, allocations: 28.03 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1488, allocations: 4 kB / 0.545 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1489, allocations: 31.86 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.149, allocations: 4 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001133/0.1491, allocations: 121.8 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1491, allocations: 7.953 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1492, allocations: 16.7 kB / 0.5452 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1492, allocations: 8 kB / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1492, allocations: 0 / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1492, allocations: 3.938 kB / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1495, allocations: 205.5 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1495, allocations: 4 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1496, allocations: 19.97 kB / 0.5454 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1496, allocations: 0 / 0.5454 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1496, allocations: 4.188 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1496, allocations: 4 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1496, allocations: 3.938 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.1501, allocations: 251.2 kB / 0.5457 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.1502, allocations: 85.06 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1502, allocations: 4 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1504, allocations: 23.97 kB / 0.5458 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1504, allocations: 11.98 kB / 0.5458 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1505, allocations: 3.938 kB / 0.5458 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.75e-05/0.1505, allocations: 109 kB / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1505, allocations: 0 / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1508, allocations: 20 kB / 0.5459 GB, free: 13.45 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: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001105/0.1509, allocations: 95.25 kB / 0.546 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.1514, allocations: 115.8 kB / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1514, allocations: 0 / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.1516, allocations: 64.02 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1519, allocations: 21.55 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.1524, allocations: 213.9 kB / 0.5464 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1528, allocations: 0.7002 MB / 0.5471 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.1528, allocations: 12.67 kB / 0.5471 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1529, allocations: 11.44 kB / 0.5471 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1529, allocations: 0 / 0.5471 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004303/0.1572, allocations: 1.44 MB / 0.5485 GB, free: 10.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.129486590623856]