Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001769/0.001769, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002116/0.002116, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.531/1.531, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2521/0.2521, allocations: 46.89 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 79.86 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3921, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003213/0.3953, allocations: 1.742 MB / 0.5629 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.3957, allocations: 155.5 kB / 0.563 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3958, allocations: 4 kB / 0.563 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.3959, allocations: 11.86 kB / 0.563 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.3959, allocations: 15.81 kB / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3963, allocations: 91.86 kB / 0.5631 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3965, allocations: 103.8 kB / 0.5632 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3966, allocations: 29.38 kB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.3967, allocations: 43.84 kB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.3968, allocations: 43.78 kB / 0.5634 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3968, allocations: 8 kB / 0.5634 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.3968, allocations: 8 kB / 0.5634 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3969, allocations: 19.92 kB / 0.5634 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.3969, allocations: 51.7 kB / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3971, allocations: 94.25 kB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3971, allocations: 0 / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3971, allocations: 0 / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3971, allocations: 0 / 0.5635 GB, free: 2.617 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.0008507/0.398, allocations: 446.9 kB / 0.564 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.398, allocations: 12.03 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3981, allocations: 16.84 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3985, allocations: 202.2 kB / 0.5642 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3985, allocations: 8.375 kB / 0.5642 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3985, allocations: 4.375 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.3991, allocations: 158.4 kB / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3991, allocations: 192 / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3991, allocations: 7.938 kB / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3991, allocations: 0 / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.3995, allocations: 107.8 kB / 0.5645 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.4003, allocations: 0.5438 MB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.4008, allocations: 146.4 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.401, allocations: 60.73 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.401, allocations: 0 / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4011, allocations: 38.56 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.4011, allocations: 0 / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007033/0.4018, allocations: 181.6 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.4019, allocations: 106.8 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.402, allocations: 138.1 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4021, allocations: 33.7 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.4022, allocations: 104 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4022, allocations: 27.88 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.4023, allocations: 29.7 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4024, allocations: 326.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.4026, allocations: 47.95 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.4029, allocations: 84.23 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.4032, allocations: 110.8 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4032, allocations: 4 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004704/0.4037, allocations: 157.5 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4037, allocations: 8 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4037, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4037, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4039, allocations: 27.97 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4039, allocations: 0 / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4041, allocations: 35.86 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4041, allocations: 12.06 kB / 0.5666 GB, free: 15.2 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.0001555/0.4043, allocations: 125.7 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.4043, allocations: 7.953 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.4043, allocations: 16.72 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4043, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4043, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4044, allocations: 3.938 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.4046, allocations: 201.6 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4046, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4047, allocations: 27.97 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4047, allocations: 3.938 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4048, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4048, allocations: 192 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4048, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.4053, allocations: 255.2 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.4053, allocations: 81.06 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4054, allocations: 7.984 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4055, allocations: 23.97 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.4056, allocations: 4 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4056, allocations: 15.92 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.775e-05/0.4057, allocations: 101.5 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4057, allocations: 0 / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00025/0.406, allocations: 20 kB / 0.5674 GB, free: 14.22 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.0001398/0.4061, allocations: 91.25 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.4066, allocations: 116 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4066, allocations: 4 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4068, allocations: 59.95 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4071, allocations: 15.98 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.4077, allocations: 225.8 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4081, allocations: 0.708 MB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.4081, allocations: 8.672 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.4082, allocations: 15.42 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4082, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Templates: time 0.004632/0.4128, allocations: 1.463 MB / 0.5701 GB, free: 11.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.133347155991942] Failed to read output from testmodel.py, exit status != 0: 0.421353449113667 0.45094619100000005 0.048357933000000006 Calling exit ...