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.001418/0.001418, allocations: 117 kB / 19.12 MB, free: 3.93 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.001538/0.001538, allocations: 210.6 kB / 22.08 MB, free: 0.9766 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.486/1.486, allocations: 227.4 MB / 252.3 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.2844/0.2844, allocations: 46.16 MB / 351.8 MB, free: 14.27 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.002632/0.002632, allocations: 84.38 kB / 490.9 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1311, allocations: 62.44 MB / 0.5403 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003297/0.1344, allocations: 1.729 MB / 0.542 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.1349, allocations: 155.5 kB / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1351, allocations: 4 kB / 0.5422 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.1351, allocations: 7.875 kB / 0.5422 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.1352, allocations: 19.78 kB / 0.5422 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1356, allocations: 94.5 kB / 0.5423 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1358, allocations: 107.8 kB / 0.5424 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.136, allocations: 33.38 kB / 0.5424 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.1361, allocations: 43.84 kB / 0.5425 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.1361, allocations: 39.78 kB / 0.5425 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1362, allocations: 11.94 kB / 0.5425 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.1362, allocations: 8 kB / 0.5425 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.1362, allocations: 23.91 kB / 0.5425 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.1363, allocations: 43.78 kB / 0.5426 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1365, allocations: 91.52 kB / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1365, allocations: 0 / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1365, allocations: 0 / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1365, allocations: 4 kB / 0.5427 GB, free: 1.824 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.0008133/0.1373, allocations: 447 kB / 0.5431 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1374, allocations: 8.031 kB / 0.5431 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.1375, allocations: 16.84 kB / 0.5431 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1379, allocations: 206.2 kB / 0.5433 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1379, allocations: 8.375 kB / 0.5433 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.138, allocations: 8.375 kB / 0.5433 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.1385, allocations: 146.4 kB / 0.5435 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1385, allocations: 4.188 kB / 0.5435 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1385, allocations: 7.938 kB / 0.5435 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1385, allocations: 3.984 kB / 0.5435 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.139, allocations: 107.9 kB / 0.5436 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.14, allocations: 0.5399 MB / 0.5441 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.1405, allocations: 138.4 kB / 0.5443 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1408, allocations: 64.8 kB / 0.5443 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1408, allocations: 8 kB / 0.5443 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.1409, allocations: 34.56 kB / 0.5444 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/0.1409, allocations: 0 / 0.5444 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007729/0.1417, allocations: 181.5 kB / 0.5445 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1418, allocations: 110.8 kB / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1419, allocations: 140.9 kB / 0.5448 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.142, allocations: 25.7 kB / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.1421, allocations: 112.1 kB / 0.5449 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1421, allocations: 23.8 kB / 0.5449 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.1422, allocations: 33.7 kB / 0.545 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1424, allocations: 326.8 kB / 0.5453 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1426, allocations: 47.95 kB / 0.5453 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1428, allocations: 88.23 kB / 0.5454 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1432, allocations: 110.5 kB / 0.5455 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1432, allocations: 0 / 0.5455 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004853/0.1437, allocations: 161.7 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1438, allocations: 4 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1438, allocations: 4.062 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1438, allocations: 4 kB / 0.5457 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.144, allocations: 27.97 kB / 0.5457 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.144, allocations: 0 / 0.5457 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1442, allocations: 35.86 kB / 0.5457 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1442, allocations: 4 kB / 0.5457 GB, free: 14.41 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.0001353/0.1443, allocations: 129.8 kB / 0.5459 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1444, allocations: 11.95 kB / 0.5459 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1444, allocations: 8.719 kB / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1444, allocations: 4 kB / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1445, allocations: 0 / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.1445, allocations: 3.938 kB / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.1447, allocations: 205.5 kB / 0.5461 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1447, allocations: 0 / 0.5461 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.1449, allocations: 23.97 kB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1449, allocations: 0 / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1449, allocations: 4 kB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1449, allocations: 0 / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1449, allocations: 4.188 kB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1454, allocations: 243.2 kB / 0.5463 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1455, allocations: 93 kB / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1455, allocations: 4 kB / 0.5464 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1457, allocations: 27.95 kB / 0.5465 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.1458, allocations: 8 kB / 0.5465 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1458, allocations: 7.922 kB / 0.5465 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.1459, allocations: 106.2 kB / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1459, allocations: 0 / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1461, allocations: 16 kB / 0.5466 GB, free: 13.43 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.0001252/0.1463, allocations: 99.25 kB / 0.5467 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.1467, allocations: 115.8 kB / 0.5468 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1468, allocations: 0 / 0.5468 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.147, allocations: 64.02 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1473, allocations: 21.36 kB / 0.5469 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.1479, allocations: 239.6 kB / 0.5471 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1482, allocations: 0.7041 MB / 0.5478 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.1483, allocations: 15.44 kB / 0.5478 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1483, allocations: 0 / 0.5478 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.003298/0.1516, allocations: 1.428 MB / 0.5492 GB, free: 10.7 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: 7.528772840974852] Failed to read output from testmodel.py, exit status != 0: 0.15943752590101212 0.17292200500000002 0.033760172000000005 Calling exit ...