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.001283/0.001283, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001787/0.001787, allocations: 212 kB / 24.54 MB, free: 4.016 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.364/1.364, allocations: 230.3 MB / 258 MB, free: 8.27 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.2084/0.2084, allocations: 46.9 MB / 361.3 MB, free: 4.48 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.002297/0.002297, allocations: 75.88 kB / 0.497 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2607, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.00293/0.2636, allocations: 1.731 MB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.2641, allocations: 163.5 kB / 0.5634 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.2641, allocations: 7.938 kB / 0.5634 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.2642, allocations: 11.86 kB / 0.5634 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.2642, allocations: 11.88 kB / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2645, allocations: 99.8 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.2647, allocations: 107.7 kB / 0.5636 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2648, allocations: 25.58 kB / 0.5636 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.2649, allocations: 39.86 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.2649, allocations: 51.77 kB / 0.5637 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.265, allocations: 8 kB / 0.5637 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.265, allocations: 8 kB / 0.5637 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.265, allocations: 23.92 kB / 0.5637 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.2651, allocations: 39.8 kB / 0.5638 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2652, allocations: 102 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2652, allocations: 0 / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2652, allocations: 0 / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2652, allocations: 0 / 0.5639 GB, free: 2.211 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.00067/0.2659, allocations: 369.8 kB / 0.5642 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2659, allocations: 12.02 kB / 0.5642 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.266, allocations: 12.84 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.2662, allocations: 152.4 kB / 0.5644 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2662, allocations: 384 / 0.5644 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.2662, allocations: 12.38 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.2666, allocations: 146.5 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2666, allocations: 8.125 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2666, allocations: 7.938 kB / 0.5646 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2666, allocations: 0 / 0.5646 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.267, allocations: 111.9 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.2677, allocations: 0.5116 MB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.2681, allocations: 134.5 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2683, allocations: 56.75 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2683, allocations: 4 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2683, allocations: 30.56 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.2683, allocations: 0 / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000642/0.269, allocations: 189.5 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.269, allocations: 106.8 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2691, allocations: 132.9 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2692, allocations: 29.7 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.2692, allocations: 108 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.2693, allocations: 24 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.2693, allocations: 29.7 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2694, allocations: 330.7 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2696, allocations: 59.89 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2698, allocations: 88.17 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.2702, allocations: 114.5 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2702, allocations: 0 / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004186/0.2706, allocations: 149.5 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2706, allocations: 8 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2706, allocations: 3.984 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2706, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2708, allocations: 23.98 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2708, allocations: 3.984 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.271, allocations: 39.86 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.271, allocations: 4 kB / 0.5668 GB, free: 15 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 9.598e-05/0.2711, allocations: 117.8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.2711, allocations: 11.89 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.2711, allocations: 12.72 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2711, allocations: 0 / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2711, allocations: 3.984 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2711, allocations: 3.938 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2714, allocations: 184.7 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2714, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2715, allocations: 19.98 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2715, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2715, allocations: 3.984 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2715, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2715, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.272, allocations: 251.7 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.272, allocations: 7.953 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.272, allocations: 3.938 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2721, allocations: 23.97 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2722, allocations: 11.98 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2722, allocations: 7.938 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.2723, allocations: 103.3 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2723, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.2725, allocations: 19.94 kB / 0.5675 GB, free: 14.16 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 8.963e-05/0.2726, allocations: 95.42 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.273, allocations: 123.8 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.273, allocations: 3.938 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.2732, allocations: 55.94 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2735, allocations: 19.98 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.274, allocations: 226 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2743, allocations: 0.6929 MB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.2743, allocations: 12.66 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.2744, allocations: 15.44 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2744, allocations: 8 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.003886/0.2783, allocations: 1.473 MB / 0.5702 GB, free: 11.39 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: 4.454572468996048] Failed to read output from testmodel.py, exit status != 0: 0.2857433520257473 0.29918631599999995 0.03113203 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f62e9f257b0>