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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.3 MB, free: 9.113 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 77.28 kB / 416.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1264, allocations: 62.45 MB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003328/0.1298, allocations: 1.776 MB / 481.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004899/0.1303, allocations: 159.5 kB / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1304, allocations: 0 / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.1305, allocations: 11.92 kB / 481.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.035e-05/0.1306, allocations: 3.938 kB / 481.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.131, allocations: 87.83 kB / 481.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1312, allocations: 99.75 kB / 481.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1314, allocations: 33.38 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.1315, allocations: 35.86 kB / 481.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.1315, allocations: 47.77 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1316, allocations: 4 kB / 481.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.1316, allocations: 4 kB / 481.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.1316, allocations: 15.92 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1317, allocations: 39.78 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1319, allocations: 87.69 kB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1319, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1319, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1319, allocations: 4 kB / 481.7 MB, free: 3.27 MB / 350.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.0008078/0.1327, allocations: 439.3 kB / 482.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1328, allocations: 12.88 kB / 482.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1328, allocations: 12.75 kB / 482.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1331, allocations: 202.8 kB / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1331, allocations: 12.36 kB / 482.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1331, allocations: 8.375 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.1335, allocations: 146.4 kB / 482.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1335, allocations: 192 / 482.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1336, allocations: 11.94 kB / 482.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.1336, allocations: 4 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.134, allocations: 107.8 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.1348, allocations: 0.5437 MB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1353, allocations: 142.4 kB / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.1355, allocations: 56.84 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1355, allocations: 0 / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1355, allocations: 34.56 kB / 483.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1356, allocations: 4 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006841/0.1362, allocations: 189.5 kB / 483.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.1363, allocations: 106.8 kB / 483.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1365, allocations: 138.2 kB / 483.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1365, allocations: 29.7 kB / 483.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1366, allocations: 108 kB / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1366, allocations: 23.66 kB / 484 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.1367, allocations: 29.7 kB / 484 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1368, allocations: 322.8 kB / 484.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.137, allocations: 51.89 kB / 484.4 MB, free: 336 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1372, allocations: 92.23 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.1376, allocations: 110.5 kB / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1376, allocations: 0 / 484.6 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004609/0.138, allocations: 149.6 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1381, allocations: 8 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1381, allocations: 4 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1381, allocations: 0 / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1383, allocations: 23.97 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1383, allocations: 7.938 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1385, allocations: 27.91 kB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1385, allocations: 7.984 kB / 484.8 MB, free: 15.87 MB / 366.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.0001138/0.1386, allocations: 121.8 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1387, allocations: 7.906 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1387, allocations: 12.66 kB / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1387, allocations: 4 kB / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1387, allocations: 0 / 484.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1387, allocations: 3.938 kB / 484.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.139, allocations: 213.4 kB / 485.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.139, allocations: 4 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1391, allocations: 23.97 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1391, allocations: 0 / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1392, allocations: 4 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1392, allocations: 0 / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1392, allocations: 3.984 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.1396, allocations: 239.2 kB / 485.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1397, allocations: 92.94 kB / 485.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1397, allocations: 3.984 kB / 485.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1399, allocations: 27.97 kB / 485.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.14, allocations: 7.984 kB / 485.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.14, allocations: 3.938 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.1401, allocations: 105.5 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1401, allocations: 4 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1404, allocations: 20 kB / 485.7 MB, free: 14.9 MB / 366.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.0001162/0.1405, allocations: 91.44 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.141, allocations: 124.2 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.141, allocations: 4.125 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1412, allocations: 64.03 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1416, allocations: 23.92 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.1423, allocations: 251.7 kB / 486.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1426, allocations: 0.7009 MB / 486.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1427, allocations: 16.66 kB / 486.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.1427, allocations: 11.44 kB / 487 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1427, allocations: 0 / 487 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Templates: time 0.00411/0.1468, allocations: 1.235 MB / 488.2 MB, free: 12.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.makefile (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)