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.00129/0.00129, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001405/0.001405, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.462/1.462, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.224/0.224, allocations: 46.88 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] 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.002375/0.002375, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2839, allocations: 66 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003109/0.287, allocations: 1.718 MB / 0.5629 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.2874, allocations: 171.5 kB / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.2875, allocations: 0 / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.2876, allocations: 7.875 kB / 0.563 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.2876, allocations: 19.8 kB / 0.5631 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.288, allocations: 95.84 kB / 0.5631 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2881, allocations: 103.8 kB / 0.5632 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2883, allocations: 25.39 kB / 0.5633 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.2884, allocations: 47.78 kB / 0.5633 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.2884, allocations: 51.77 kB / 0.5634 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2885, allocations: 8 kB / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.2885, allocations: 8 kB / 0.5634 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.2885, allocations: 19.92 kB / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.2886, allocations: 47.72 kB / 0.5634 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.2887, allocations: 90.39 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2887, allocations: 0 / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2887, allocations: 0 / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2887, allocations: 0 / 0.5635 GB, free: 2.609 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.0007966/0.2895, allocations: 454.9 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2896, allocations: 12.03 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.2896, allocations: 12.84 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.2899, allocations: 200.2 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2899, allocations: 8.375 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2899, allocations: 4.375 kB / 0.5642 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.2903, allocations: 153 kB / 0.5643 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2903, allocations: 4.125 kB / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2903, allocations: 3.938 kB / 0.5643 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2903, allocations: 4 kB / 0.5643 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.2907, allocations: 107.9 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.2915, allocations: 0.5438 MB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.2919, allocations: 138.5 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2922, allocations: 64.77 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2922, allocations: 4 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2922, allocations: 34.56 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2922, allocations: 0 / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006992/0.2929, allocations: 181.5 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.293, allocations: 102.8 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2931, allocations: 138.1 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2932, allocations: 29.7 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.2932, allocations: 112.1 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.2933, allocations: 23.88 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.2933, allocations: 33.7 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2935, allocations: 322.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.2937, allocations: 51.89 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2939, allocations: 96.17 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.2943, allocations: 106.4 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2943, allocations: 4.031 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004597/0.2948, allocations: 149.5 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2948, allocations: 8 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2948, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2948, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2949, allocations: 28.03 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2949, allocations: 4 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2951, allocations: 35.86 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2951, allocations: 0 / 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.0001159/0.2952, allocations: 125.8 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.2953, allocations: 15.89 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.2953, allocations: 16.72 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2953, allocations: 4 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2953, allocations: 0 / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2953, allocations: 3.938 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.2956, allocations: 205.6 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2956, allocations: 0 / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2957, allocations: 19.97 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2957, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2957, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2957, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2957, allocations: 3.984 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.2962, allocations: 243.3 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.2963, allocations: 81.06 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2963, allocations: 7.938 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2965, allocations: 31.95 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2965, allocations: 4 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2965, allocations: 11.92 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.2966, allocations: 101.3 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2966, allocations: 0 / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.2969, allocations: 23.94 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.0001265/0.297, allocations: 91.25 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2975, allocations: 123.8 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2975, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.2977, allocations: 56.58 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.0003405/0.298, allocations: 24.11 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.2986, allocations: 234.1 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.299, allocations: 0.704 MB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.299, allocations: 12.67 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.2991, allocations: 15.42 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2991, allocations: 0 / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.004441/0.3035, allocations: 1.451 MB / 0.5701 GB, free: 11.47 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 gbode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.705700363963842] Failed to read output from testmodel.py, exit status != 0: 0.31166579527780414 0.32626432800000005 0.03458066 Calling exit ...