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.00158/0.00158, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001825/0.001825, allocations: 219.2 kB / 23 MB, free: 5.574 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.504/1.504, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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.2558/0.2558, allocations: 46.92 MB / 359.4 MB, free: 4.852 MB / 286.1 MB " [Timeout remaining time 179] 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.002285/0.002285, allocations: 71.88 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4377, allocations: 66 MB / 0.5591 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.004292/0.442, allocations: 1.735 MB / 0.5608 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004986/0.4425, allocations: 159.5 kB / 0.5609 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.4426, allocations: 0 / 0.5609 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.4426, allocations: 7.875 kB / 0.5609 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.883e-05/0.4427, allocations: 19.8 kB / 0.5609 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.4431, allocations: 95.23 kB / 0.561 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4433, allocations: 103.8 kB / 0.5611 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4434, allocations: 29.38 kB / 0.5612 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.4435, allocations: 47.84 kB / 0.5612 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.4436, allocations: 39.78 kB / 0.5612 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.4436, allocations: 12 kB / 0.5613 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.4436, allocations: 8 kB / 0.5613 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.4437, allocations: 27.91 kB / 0.5613 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.4437, allocations: 35.8 kB / 0.5613 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.444, allocations: 97.89 kB / 0.5614 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.444, allocations: 0 / 0.5614 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.444, allocations: 0 / 0.5614 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.444, allocations: 0 / 0.5614 GB, free: 2.656 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.0008775/0.4449, allocations: 450.9 kB / 0.5619 GB, free: 2.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4449, allocations: 12.03 kB / 0.5619 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.445, allocations: 12.84 kB / 0.5619 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.4453, allocations: 202.5 kB / 0.5621 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4453, allocations: 8.375 kB / 0.5621 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4453, allocations: 8.375 kB / 0.5621 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.4457, allocations: 150.4 kB / 0.5622 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4457, allocations: 192 / 0.5622 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4457, allocations: 3.938 kB / 0.5622 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4457, allocations: 4 kB / 0.5622 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4461, allocations: 107.9 kB / 0.5623 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.4468, allocations: 0.5476 MB / 0.5629 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.4473, allocations: 138.4 kB / 0.563 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.4475, allocations: 56.84 kB / 0.5631 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.4475, allocations: 7.984 kB / 0.5631 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4476, allocations: 34.56 kB / 0.5631 GB, free: 0.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.4476, allocations: 0 / 0.5631 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006235/0.4482, allocations: 185.6 kB / 0.5633 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.4483, allocations: 102.8 kB / 0.5634 GB, free: 448 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4484, allocations: 144.9 kB / 0.5635 GB, free: 292 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4484, allocations: 25.7 kB / 0.5635 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.4485, allocations: 104 kB / 0.5636 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.4486, allocations: 31.86 kB / 0.5637 GB, free: 120 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.4486, allocations: 37.64 kB / 0.5637 GB, free: 76 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4489, allocations: 322.8 kB / 0.564 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.449, allocations: 47.95 kB / 0.5641 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.4493, allocations: 84.25 kB / 0.5641 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4496, allocations: 110.7 kB / 0.5642 GB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4496, allocations: 4.031 kB / 0.5642 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003935/0.45, allocations: 157.5 kB / 0.5644 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.45, allocations: 4 kB / 0.5644 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.45, allocations: 4 kB / 0.5644 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.45, allocations: 0 / 0.5644 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4502, allocations: 28.03 kB / 0.5644 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4502, allocations: 4 kB / 0.5644 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.4503, allocations: 43.8 kB / 0.5645 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4503, allocations: 0 / 0.5645 GB, free: 15.24 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.0001231/0.4504, allocations: 121.8 kB / 0.5646 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.4505, allocations: 11.94 kB / 0.5646 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.4505, allocations: 20.72 kB / 0.5646 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4505, allocations: 0 / 0.5646 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4505, allocations: 0 / 0.5646 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4505, allocations: 3.938 kB / 0.5646 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4508, allocations: 201.6 kB / 0.5648 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4508, allocations: 0 / 0.5648 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4509, allocations: 23.95 kB / 0.5648 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4509, allocations: 4.188 kB / 0.5648 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4509, allocations: 4 kB / 0.5649 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4509, allocations: 3.938 kB / 0.5649 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4509, allocations: 4 kB / 0.5649 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.4514, allocations: 247.2 kB / 0.5651 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.4514, allocations: 81.06 kB / 0.5652 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4514, allocations: 4 kB / 0.5652 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4516, allocations: 27.97 kB / 0.5652 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.4517, allocations: 7.984 kB / 0.5652 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4517, allocations: 11.94 kB / 0.5652 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.4518, allocations: 101.7 kB / 0.5653 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4518, allocations: 0 / 0.5653 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.452, allocations: 20 kB / 0.5653 GB, free: 14.27 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.0001247/0.4521, allocations: 99.19 kB / 0.5654 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.4525, allocations: 115.8 kB / 0.5655 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4525, allocations: 4 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.4527, allocations: 56.08 kB / 0.5656 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.453, allocations: 26.88 kB / 0.5656 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.4536, allocations: 221.9 kB / 0.5658 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.454, allocations: 0.7002 MB / 0.5665 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.454, allocations: 8.672 kB / 0.5665 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.4541, allocations: 15.44 kB / 0.5665 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4541, allocations: 0 / 0.5665 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Templates: time 0.004383/0.4585, allocations: 1.466 MB / 0.568 GB, free: 11.52 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.165339280851185]